diff --git a/entry.sh b/entry.sh index bae631c..88dece4 100755 --- a/entry.sh +++ b/entry.sh @@ -5,8 +5,17 @@ function first_stage(){ set -e echo foo first_stage - echo -n luks_password: - read -s luks_password + echo -n "luks password: " + read -s luks_password_in + export_env LUKS_PASSWORD $luks_password_in + + echo -n "root password: " + read -s root_password_in + export_env ROOT_PASSWORD $root_password_in + + echo -n "user password: " + read -s user_password_in + export_env USER_PASSWORD $user_password_in lsblk -ftpo NAME,FSTYPE,LABEL,UUID,FSAVAIL,MOUNTPOINT select DEVICE in $(lsblk -frpno NAME); do