From ea642414924bd3d9e56ca7d9384f9ed20f81f5d9 Mon Sep 17 00:00:00 2001 From: jedi Date: Fri, 31 Jan 2020 15:34:57 +0100 Subject: [PATCH] wip --- entry.sh | 5 +++++ 1 file changed, 5 insertions(+) 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