mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-20 15:01:40 -04:00
cleanup temp keys
This commit is contained in:
@@ -118,6 +118,9 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
||||
&stepCreateImage{
|
||||
uploadImageCommand: b.config.BuilderUploadImageCommand,
|
||||
},
|
||||
&common.StepCleanupTempKeys{
|
||||
Comm: &b.config.Comm,
|
||||
},
|
||||
}
|
||||
} else {
|
||||
// Build the steps
|
||||
@@ -140,9 +143,6 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
||||
&common.StepCleanupTempKeys{
|
||||
Comm: &b.config.Comm,
|
||||
},
|
||||
&common.StepCleanupTempKeys{
|
||||
Comm: &b.config.Comm,
|
||||
},
|
||||
&stepSnapshot{},
|
||||
&stepListImages{},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user