diff --git a/ubuntu-20.04/init.sh b/ubuntu-20.04/init.sh index 8a19ef7..6e5328d 100644 --- a/ubuntu-20.04/init.sh +++ b/ubuntu-20.04/init.sh @@ -223,15 +223,15 @@ ClevisNetInit() { options+=("${LUKSPART}" "") done IFS=$IFS_ORIG - DEV=$(whiptail --title "Select root LUKS part" --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3) + DEV=$(whiptail --title "Select root LUKS part" --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3) # shellcheck disable=SC2181 - if [ "$?" = "0" ]; then + if [ "$?" = "0" ]; then TANGURL=$(whiptail --title "Tang Server" --inputbox "URL" 0 30 "" 3>&1 1>&2 2>&3) if [ "$?" = "0" ]; then clevis luks bind -d "${DEV}" tang "{\"url\": \"${TANGURL}\"}" systemctl enable clevis-luks-askpass.path fi - fi + fi } SSHEnableRootLogin() {