Skip to content

Commit

Permalink
Added debugging to packer
Browse files Browse the repository at this point in the history
  • Loading branch information
ElstonLewis committed Nov 22, 2023
1 parent 9d89b15 commit b681708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ echo "executing /bin/packer init -upgrade ./config.pkr.hcl"
/bin/packer init -upgrade ./config.pkr.hcl

echo "executing /bin/packer build ./$PACKER_SCRIPT | tee /usr/local/packer/logs/$UOMI_NAME.log"
/bin/packer build ./$PACKER_SCRIPT | tee /usr/local/packer/logs/$UOMI_NAME.log
/bin/packer build -debug ./$PACKER_SCRIPT | tee /usr/local/packer/logs/$UOMI_NAME.log

# Workaround for bad Packer exit code
grep successful /usr/local/packer/logs/$UOMI_NAME.log > /dev/null
Expand Down

0 comments on commit b681708

Please sign in to comment.