Skip to content

Commit

Permalink
fix cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
xorel committed Nov 10, 2023
1 parent eec4b2d commit 972a320
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packer/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ packer build -force \
"$INPUT_DIR" # loads all *.pkr.hcl from dir

# delete potential temporary cloud-init files
rm -f "$INPUT_DIR"/"$DISTRO"-cloud-init.iso
rm -f "$INPUT_DIR"/"$DISTRO"-cloud-init.iso \
"$INPUT_DIR"/"$DISTRO"-context.iso \
"$INPUT_DIR"/context/

# convert working image to the destination
qemu-img convert -c -O qcow2 "$OUTPUT_DIR/$DISTRO" "$DST"
Expand Down

0 comments on commit 972a320

Please sign in to comment.