This commit is contained in:
j3d1 2020-01-31 15:23:19 +01:00
parent bad143cd4c
commit 641402e3c8

View file

@ -5,8 +5,17 @@ function first_stage(){
set -e set -e
echo foo first_stage echo foo first_stage
echo -n luks_password: echo -n "luks password: "
read -s 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 lsblk -ftpo NAME,FSTYPE,LABEL,UUID,FSAVAIL,MOUNTPOINT
select DEVICE in $(lsblk -frpno NAME); do select DEVICE in $(lsblk -frpno NAME); do