diff --git a/bootstrap.sh b/bootstrap.sh index e2a48d7..d2e9a94 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -13,6 +13,7 @@ init() { [ -z "$NAME" ] && read -p "Hostname: " NAME while [ -z "$PASSWD" ] || [ ! "$PASSWD" = "$CHECK" ]; do read -sp "Root password: " PASSWD + echo read -sp "Repeat: " CHECK done # Show some possible disks @@ -28,6 +29,7 @@ init() { echo "DEVICEPARTS = $DEV$SUF" read -p "Do you want to continue with these values (y/n): " cont [ ! "$cont" = "y" ] && unset NAME PASSWD DEV && init + echo "Let's GOOOO" } # stop on error