From 6b39b1eed696937258698e8eb96fe3770e1d377a Mon Sep 17 00:00:00 2001 From: James Griffith Date: Tue, 15 Sep 2020 09:56:06 -0400 Subject: [PATCH] StepShutdown should still occur if Comm.Type is none --- builder/vsphere/iso/builder.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builder/vsphere/iso/builder.go b/builder/vsphere/iso/builder.go index e5f3a183f..cd31bfe59 100644 --- a/builder/vsphere/iso/builder.go +++ b/builder/vsphere/iso/builder.go @@ -120,13 +120,13 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack SSHConfig: b.config.Comm.SSHConfigFunc(), }, &packerCommon.StepProvision{}, - &common.StepShutdown{ - Config: &b.config.ShutdownConfig, - }, ) } steps = append(steps, + &common.StepShutdown{ + Config: &b.config.ShutdownConfig, + }, &StepRemoveFloppy{ Datastore: b.config.Datastore, Host: b.config.Host,