From e571a133b0a3e4f6bc07d2693cfea9f4428f49fb Mon Sep 17 00:00:00 2001 From: John Deatherage Date: Sun, 14 Sep 2014 04:28:55 -0700 Subject: [PATCH] fixed vmware-vmx step order --- builder/vmware/vmx/builder.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/builder/vmware/vmx/builder.go b/builder/vmware/vmx/builder.go index 91f221dd6..100e1fe36 100644 --- a/builder/vmware/vmx/builder.go +++ b/builder/vmware/vmx/builder.go @@ -62,15 +62,6 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe &common.StepCreateFloppy{ Files: b.config.FloppyFiles, }, - &vmwcommon.StepHTTPServer{ - HTTPDir: b.config.HTTPDir, - HTTPPortMin: b.config.HTTPPortMin, - HTTPPortMax: b.config.HTTPPortMax, - }, - &vmwcommon.StepConfigureVNC{ - VNCPortMin: b.config.VNCPortMin, - VNCPortMax: b.config.VNCPortMax, - }, &StepCloneVMX{ OutputDir: b.config.OutputDir, Path: b.config.SourcePath, @@ -80,6 +71,15 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe CustomData: b.config.VMXData, }, &vmwcommon.StepSuppressMessages{}, + &vmwcommon.StepHTTPServer{ + HTTPDir: b.config.HTTPDir, + HTTPPortMin: b.config.HTTPPortMin, + HTTPPortMax: b.config.HTTPPortMax, + }, + &vmwcommon.StepConfigureVNC{ + VNCPortMin: b.config.VNCPortMin, + VNCPortMax: b.config.VNCPortMax, + }, &vmwcommon.StepRun{ BootWait: b.config.BootWait, DurationBeforeStop: 5 * time.Second,