diff --git a/builder/vmware/common/driver_player5.go b/builder/vmware/common/driver_player5.go index 2444ca662..5bb80a0f2 100644 --- a/builder/vmware/common/driver_player5.go +++ b/builder/vmware/common/driver_player5.go @@ -198,4 +198,4 @@ func (d *Player5Driver) DhcpLeasesPath(device string) string { func (d *Player5Driver) VmnetnatConfPath() string { return playerVmnetnatConfPath() -} \ No newline at end of file +} diff --git a/builder/vmware/common/step_configure_vmx.go b/builder/vmware/common/step_configure_vmx.go index 556975023..401d53055 100644 --- a/builder/vmware/common/step_configure_vmx.go +++ b/builder/vmware/common/step_configure_vmx.go @@ -18,7 +18,7 @@ import ( // vmx_path string type StepConfigureVMX struct { CustomData map[string]string - SkipFloppy bool + SkipFloppy bool } func (s *StepConfigureVMX) Run(state multistep.StateBag) multistep.StepAction { @@ -58,7 +58,7 @@ func (s *StepConfigureVMX) Run(state multistep.StateBag) multistep.StepAction { } // Set a floppy disk, but only if we should - if ! s.SkipFloppy { + if !s.SkipFloppy { // Set a floppy disk if we have one if floppyPathRaw, ok := state.GetOk("floppy_path"); ok { log.Println("Floppy path present, setting in VMX") diff --git a/builder/vmware/iso/builder.go b/builder/vmware/iso/builder.go index f9c752e23..7c90b298d 100644 --- a/builder/vmware/iso/builder.go +++ b/builder/vmware/iso/builder.go @@ -369,7 +369,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe &vmwcommon.StepCleanFiles{}, &vmwcommon.StepConfigureVMX{ CustomData: b.config.VMXDataPost, - SkipFloppy: true, + SkipFloppy: true, }, &vmwcommon.StepCleanVMX{}, &vmwcommon.StepCompactDisk{ diff --git a/builder/vmware/vmx/builder.go b/builder/vmware/vmx/builder.go index fb61b2559..61c5f9da6 100644 --- a/builder/vmware/vmx/builder.go +++ b/builder/vmware/vmx/builder.go @@ -96,7 +96,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe &vmwcommon.StepCleanFiles{}, &vmwcommon.StepConfigureVMX{ CustomData: b.config.VMXDataPost, - SkipFloppy: true, + SkipFloppy: true, }, &vmwcommon.StepCleanVMX{}, &vmwcommon.StepCompactDisk{