From b6817084d4cbd549a742e6b7f127c7ec06c35ef9 Mon Sep 17 00:00:00 2001 From: "elston.lewis" Date: Wed, 22 Nov 2023 13:54:19 +0100 Subject: [PATCH] Added debugging to packer --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index f83bd9b..8cb948c 100644 --- a/build.sh +++ b/build.sh @@ -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