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