Merge pull request #7464 from paulmey/fix-snapshots
[azure] Fix: Power off before taking snapshot (windows)
This commit is contained in:
commit
7fc8901d8f
|
@ -234,9 +234,9 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook) (packer.Artifact, error) {
|
||||||
&packerCommon.StepProvision{},
|
&packerCommon.StepProvision{},
|
||||||
NewStepGetOSDisk(azureClient, ui),
|
NewStepGetOSDisk(azureClient, ui),
|
||||||
NewStepGetAdditionalDisks(azureClient, ui),
|
NewStepGetAdditionalDisks(azureClient, ui),
|
||||||
|
NewStepPowerOffCompute(azureClient, ui),
|
||||||
NewStepSnapshotOSDisk(azureClient, ui, b.config),
|
NewStepSnapshotOSDisk(azureClient, ui, b.config),
|
||||||
NewStepSnapshotDataDisks(azureClient, ui, b.config),
|
NewStepSnapshotDataDisks(azureClient, ui, b.config),
|
||||||
NewStepPowerOffCompute(azureClient, ui),
|
|
||||||
NewStepCaptureImage(azureClient, ui),
|
NewStepCaptureImage(azureClient, ui),
|
||||||
NewStepDeleteResourceGroup(azureClient, ui),
|
NewStepDeleteResourceGroup(azureClient, ui),
|
||||||
NewStepDeleteOSDisk(azureClient, ui),
|
NewStepDeleteOSDisk(azureClient, ui),
|
||||||
|
|
Loading…
Reference in New Issue