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.
This commit is contained in:
Rickard von Essen 2015-01-30 10:30:42 +01:00
parent e3c2f01cb8
commit 798458481a
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import (
// These are the extensions of files and directories that are unnecessary for the function // These are the extensions of files and directories that are unnecessary for the function
// of a Parallels virtual machine. // of a Parallels virtual machine.
var UnnecessaryFilesPatterns = []string{"\\.log$", "\\.backup$", "\\.Backup$", "\\.app/"} var UnnecessaryFilesPatterns = []string{"\\.log$", "\\.backup$", "\\.Backup$", "\\.app/", "/Windows Disks/"}
type ParallelsProvider struct{} type ParallelsProvider struct{}