cleanup temp keys

pull/6918/head
Matthew Hooker 8 years ago
parent 098764d8ac
commit 445c3fb5bb
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1

@ -118,6 +118,9 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
&stepCreateImage{ &stepCreateImage{
uploadImageCommand: b.config.BuilderUploadImageCommand, uploadImageCommand: b.config.BuilderUploadImageCommand,
}, },
&common.StepCleanupTempKeys{
Comm: &b.config.Comm,
},
} }
} else { } else {
// Build the steps // Build the steps
@ -140,9 +143,6 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
&common.StepCleanupTempKeys{ &common.StepCleanupTempKeys{
Comm: &b.config.Comm, Comm: &b.config.Comm,
}, },
&common.StepCleanupTempKeys{
Comm: &b.config.Comm,
},
&stepSnapshot{}, &stepSnapshot{},
&stepListImages{}, &stepListImages{},
} }

Loading…
Cancel
Save