This commit is contained in:
j3d1 2020-01-31 15:34:57 +01:00
parent 641402e3c8
commit ea64241492

View file

@ -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