Update install.sh
This commit is contained in:
parent
0401672e2e
commit
e7f4c40edb
1 changed files with 2 additions and 1 deletions
|
@ -35,11 +35,12 @@ echo ""
|
|||
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"
|
||||
read -p "Continue? " -n 1 -r REPLY_CONTINUE
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]
|
||||
if [[ ! $REPLY_CONTINUE =~ ^[Yy]$ ]]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo
|
||||
read -p "Disable SSH passwords and load public keys from ${AUTHORIZED_SSH_KEYS}? " -n 1 -r REPLY_SSH_KEYS
|
||||
case "$REPLY_SSH_KEYS" in
|
||||
y|Y ) echo "yes";;
|
||||
|
|
Loading…
Reference in a new issue