diff --git a/command/fix.go b/command/fix.go index ca096306c..227edc403 100644 --- a/command/fix.go +++ b/command/fix.go @@ -157,6 +157,8 @@ Fixes that are run: Hyper-V ISO builder templates hyperv-vmxc-typo Corrects a typo in the "clone_from_vmxc_path" setting. Replaces with "clone_from_vmcx_path". + vmware-compaction Adds "skip_compaction = true" to "vmware-iso" + builders with incompatible disk_type_id Options: diff --git a/fix/fixer.go b/fix/fixer.go index c6278bda6..03c9f9948 100644 --- a/fix/fixer.go +++ b/fix/fixer.go @@ -38,6 +38,7 @@ func init() { "powershell-escapes": new(FixerPowerShellEscapes), "hyperv-deprecations": new(FixerHypervDeprecations), "hyperv-vmxc-typo": new(FixerHypervVmxcTypo), + "vmware-compaction": new(FixerVMwareCompaction), } FixerOrder = []string{ @@ -57,7 +58,6 @@ func init() { "amazon-private-ip", "docker-email", "powershell-escapes", - "hyperv-deprecations", - "hyperv-vmxc-typo", + "vmware-compaction", } }