From 7f01579392d7521ef9070bab7abd2436512f4e14 Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Sun, 10 Jan 2021 07:37:50 +0000 Subject: [PATCH] Update --- debi.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/debi.sh b/debi.sh index 9434d7c..bd87639 100755 --- a/debi.sh +++ b/debi.sh @@ -261,13 +261,9 @@ installer="debian-$suite" installer_directory="/boot/$installer" if [ "$skip_account_setup" = false ]; then - while [ -z "$password" ]; do - prompt_password - done + prompt_password elif [ "$network_console" = true ] && [ -z "$authorized_keys_url" ]; then - while [ -z "$password" ]; do - prompt_password "Choose a password for the installer user of the SSH network console: " - done + prompt_password "Choose a password for the installer user of the SSH network console: " fi save_preseed='cat'