fix(installer): show password input in plain text
Remove -s flag from read so the password is visible while typing, enabling piped input to work visibly on the ISO installer. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main
parent
fb4cef6a09
commit
dbb1be0081
|
|
@ -190,7 +190,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Password always prompted — never stored in answerfile
|
# Password always prompted — never stored in answerfile
|
||||||
read -rsp "Enter password for $USERNAME: " USERPASS; echo
|
read -rp "Enter password for $USERNAME: " USERPASS
|
||||||
[[ -z "$USERPASS" ]] && { echo "Error: password cannot be empty."; exit 1; }
|
[[ -z "$USERPASS" ]] && { echo "Error: password cannot be empty."; exit 1; }
|
||||||
|
|
||||||
if ! $AF_MODE; then
|
if ! $AF_MODE; then
|
||||||
|
|
|
||||||
|
|
@ -174,7 +174,7 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
read -rsp "Password for $USERNAME: " USERPASS; echo
|
read -rp "Password for $USERNAME: " USERPASS
|
||||||
[[ -z "$USERPASS" ]] && { echo "Error: password cannot be empty."; exit 1; }
|
[[ -z "$USERPASS" ]] && { echo "Error: password cannot be empty."; exit 1; }
|
||||||
|
|
||||||
lsblk
|
lsblk
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue