Skip to content

Commit

Permalink
install in /opt and not root
Browse files Browse the repository at this point in the history
  • Loading branch information
xpillons committed Feb 20, 2024
1 parent 0906b28 commit 2380304
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions bicep/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ esac


echo "* Cloning az-hop repo"
cd /opt
if [ -e az-hop ]; then
rm -rf az-hop
fi
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2380304

Please sign in to comment.