diff --git a/entry.sh b/entry.sh index 2872285..6f3be6e 100755 --- a/entry.sh +++ b/entry.sh @@ -37,13 +37,13 @@ function first_stage(){ lsblk echo mkfs.ext4 ${DEVICE}1 - mkfs.ext4 ${DEVICE}1 + yes | mkfs.ext4 ${DEVICE}1 ( echo $luks_password echo $luks_password )| cryptsetup luksFormat ${DEVICE}2 echo $luks_password | cryptsetup luksOpen ${DEVICE}2 cryptlvm - mkfs.ext4 ${DEVICE}2 + yes | mkfs.ext4 ${DEVICE}2 mount ${DEVICE}2 $TARGET echo mount ${DEVICE}2 $TARGET echo debootstrap sid $TARGET