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:
parent
e3c2f01cb8
commit
798458481a
|
@ -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{}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue