StepShutdown should still occur if Comm.Type is none

This commit is contained in:
James Griffith 2020-09-15 09:56:06 -04:00 committed by Megan Marsh
parent 65ff092fd4
commit 6b39b1eed6
1 changed files with 3 additions and 3 deletions

View File

@ -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,