From 641402e3c80f7bd30a0a4050e0a10764b6d0e335 Mon Sep 17 00:00:00 2001 From: jedi Date: Fri, 31 Jan 2020 15:23:19 +0100 Subject: [PATCH] wip --- entry.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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