From 39c8aef6cee7f04e000074f903e24318b40c9ccc Mon Sep 17 00:00:00 2001 From: "elston.lewis" Date: Wed, 22 Nov 2023 13:24:41 +0100 Subject: [PATCH] Updated packer init in build.sh --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 6cbd56c..f83bd9b 100644 --- a/build.sh +++ b/build.sh @@ -33,8 +33,8 @@ echo "product_code: `echo $OUTSCALE_PRODUCT_CODES`" echo "packer version `/bin/packer --version`" echo "packer plugins: `/bin/packer plugins installed`" -echo "executing /bin/packer init -upgrade ." -/bin/packer init -upgrade . +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