mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-02 04:34:00 -04:00
using runner with pause func
This commit is contained in:
@@ -122,8 +122,7 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (pac
|
||||
Source: source,
|
||||
},
|
||||
}
|
||||
|
||||
runner := &multistep.BasicRunner{Steps: steps}
|
||||
runner := common.NewRunnerWithPauseFn(steps, p.config.PackerConfig, ui, state)
|
||||
runner.Run(state)
|
||||
|
||||
if rawErr, ok := state.GetOk("error"); ok {
|
||||
|
||||
Reference in New Issue
Block a user