From 950f1c021c7b2e19828a8f0f506e129f3b2b7019 Mon Sep 17 00:00:00 2001 From: "elston.lewis" Date: Tue, 21 Nov 2023 14:52:15 +0100 Subject: [PATCH] Added output checks for packer --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index 31cafdc..4a03642 100644 --- a/build.sh +++ b/build.sh @@ -28,6 +28,10 @@ if [ "$VOL_SIZE" == 0 ] || [ -z "$VOL_SIZE" ]; then else export PKR_VAR_volsize=$VOL_SIZE fi +echo "product_code: `echo $OUTSCALE_PRODUCT_CODES`" +echo "packer version `/bin/packer --version`" +echo "packer plugins: `/bin/packer plugins installed`" + /bin/packer init -upgrade ./config.pkr.hcl /bin/packer build ./$PACKER_SCRIPT | tee /usr/local/packer/logs/$UOMI_NAME.log