mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-27 02:04:01 -04:00
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:
@@ -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{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user