diff --git a/builder/azure/arm/builder.go b/builder/azure/arm/builder.go index 096fa322c..329e8e4f5 100644 --- a/builder/azure/arm/builder.go +++ b/builder/azure/arm/builder.go @@ -234,9 +234,9 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook) (packer.Artifact, error) { &packerCommon.StepProvision{}, NewStepGetOSDisk(azureClient, ui), NewStepGetAdditionalDisks(azureClient, ui), + NewStepPowerOffCompute(azureClient, ui), NewStepSnapshotOSDisk(azureClient, ui, b.config), NewStepSnapshotDataDisks(azureClient, ui, b.config), - NewStepPowerOffCompute(azureClient, ui), NewStepCaptureImage(azureClient, ui), NewStepDeleteResourceGroup(azureClient, ui), NewStepDeleteOSDisk(azureClient, ui),