diff --git a/entry.sh b/entry.sh index 88dece4..ce95b60 100755 --- a/entry.sh +++ b/entry.sh @@ -8,14 +8,17 @@ function first_stage(){ echo -n "luks password: " read -s luks_password_in export_env LUKS_PASSWORD $luks_password_in + echo echo -n "root password: " read -s root_password_in export_env ROOT_PASSWORD $root_password_in + echo echo -n "user password: " read -s user_password_in export_env USER_PASSWORD $user_password_in + echo lsblk -ftpo NAME,FSTYPE,LABEL,UUID,FSAVAIL,MOUNTPOINT select DEVICE in $(lsblk -frpno NAME); do @@ -98,6 +101,8 @@ function first_stage(){ function second_stage(){ set -e echo bar second_stage + echo $TARGET + echo $LVM_SIZE passwd echo -n > /etc/motd apt install -y linux-image-amd64 grub2 cryptsetup btrfs-progs lvm2 locales tzdata keyboard-configuration console-common