diff --git a/packer/vhd-image-builder.json b/packer/vhd-image-builder.json index b21cbc619..add18d7e0 100644 --- a/packer/vhd-image-builder.json +++ b/packer/vhd-image-builder.json @@ -67,7 +67,7 @@ "inline": [ "sudo BUILD_NUMBER={{user `build_number`}} BUILD_ID={{user `build_id`}} COMMIT={{user `commit`}} /bin/bash -ux /home/packer/install-dependencies.sh", "sudo /bin/bash -eux /home/packer/cleanup-vhd.sh", - "rm -rf /home/packer" + "sudo rm -rf /home/packer" ] } ]