We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d6b4ca commit c629016Copy full SHA for c629016
packer-rocm/ubuntu/ubuntu-rocm.pkr.hcl
@@ -36,12 +36,13 @@ source "qemu" "rocm" {
36
build {
37
sources = ["source.qemu.rocm"]
38
39
- # generate/copy tarball of custom packages; 'packer-maas' will process
+ # regenerate/copy tarball of custom packages; 'packer-maas' will process
40
provisioner "shell-local" {
41
inline = [
42
- "tar cvzf ${path.root}/custom-packages.tar.gz -C ${path.root}/packages --overwrite .",
+ "rm -f ${path.root}/custom-packages.tar.gz",
43
+ "tar cvzf ${path.root}/custom-packages.tar.gz -C ${path.root}/packages ."
44
]
- inline_shebang = "/bin/bash -e"
45
+ inline_shebang = "/bin/bash"
46
}
47
provisioner "file" {
48
destination = "/tmp/"
0 commit comments