From 798458481ac114ee718ccce2ef5c482a86974861 Mon Sep 17 00:00:00 2001 From: Rickard von Essen Date: Fri, 30 Jan 2015 10:30:42 +0100 Subject: [PATCH] Fixes #1881 Don't include Windows Disks when packaging boxes for prl This excludes the directory "Windows Disks" present in the VM data directory if you hava a Windows VM with Parallels tools installed. --- post-processor/vagrant/parallels.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-processor/vagrant/parallels.go b/post-processor/vagrant/parallels.go index a6ee26b95..61e6ee5e6 100644 --- a/post-processor/vagrant/parallels.go +++ b/post-processor/vagrant/parallels.go @@ -10,7 +10,7 @@ import ( // These are the extensions of files and directories that are unnecessary for the function // of a Parallels virtual machine. -var UnnecessaryFilesPatterns = []string{"\\.log$", "\\.backup$", "\\.Backup$", "\\.app/"} +var UnnecessaryFilesPatterns = []string{"\\.log$", "\\.backup$", "\\.Backup$", "\\.app/", "/Windows Disks/"} type ParallelsProvider struct{}