Skip to content

Commit

Permalink
Merge pull request #55 from ElstonLewis/Fix_product_code_variable
Browse files Browse the repository at this point in the history
Added debugging to packer
  • Loading branch information
ElstonLewis authored Nov 22, 2023
2 parents 9d89b15 + b681708 commit a902888
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 a902888

Please sign in to comment.