Update install.sh

This commit is contained in:
Martijn de Boer 2023-08-05 17:39:59 +02:00
parent 0401672e2e
commit e7f4c40edb

View file

@ -35,11 +35,12 @@ echo ""
echo -e "\e[1;32mPlease review the actions above and confirm to continue...\e[0m" echo -e "\e[1;32mPlease review the actions above and confirm to continue...\e[0m"
echo -e "\e[1;31mWARNING: Make sure you understand the prompt(s) before continuing!\e[0m" echo -e "\e[1;31mWARNING: Make sure you understand the prompt(s) before continuing!\e[0m"
read -p "Continue? " -n 1 -r REPLY_CONTINUE read -p "Continue? " -n 1 -r REPLY_CONTINUE
if [[ ! $REPLY =~ ^[Yy]$ ]] if [[ ! $REPLY_CONTINUE =~ ^[Yy]$ ]]
then then
exit 1 exit 1
fi fi
echo
read -p "Disable SSH passwords and load public keys from ${AUTHORIZED_SSH_KEYS}? " -n 1 -r REPLY_SSH_KEYS read -p "Disable SSH passwords and load public keys from ${AUTHORIZED_SSH_KEYS}? " -n 1 -r REPLY_SSH_KEYS
case "$REPLY_SSH_KEYS" in case "$REPLY_SSH_KEYS" in
y|Y ) echo "yes";; y|Y ) echo "yes";;