diff --git a/bicep/install.sh b/bicep/install.sh index 173031df..94a4b131 100644 --- a/bicep/install.sh +++ b/bicep/install.sh @@ -58,6 +58,7 @@ esac echo "* Cloning az-hop repo" +cd /opt if [ -e az-hop ]; then rm -rf az-hop fi @@ -131,16 +132,6 @@ sed -i "s/__ADMIN_PASSWORD__/$(sed 's/[&/\]/\\&/g' <<< $admin_pass)/g" $azhop_ro jq .azhopPackerOptions.value azhopOutputs.json > $azhop_root/packer/options.json -# We probably don't want to build custom images as part of the cloud-init step -# if [ "$(jq -r .azhopConfig.value.features.sig azhopOutputs.json)" == "true" ]; then -# echo "* Building images" -# cd $azhop_root/packer -# ./build_image.sh -i azhop-compute-centos-7.9.json -# ./build_image.sh -i azhop-desktop-centos-7.9.json -# fi - - - echo "* Generating passwords" cd $azhop_root ./create_passwords.sh