From d4232602f37e166357c5a246ee0576b9ca91e59f Mon Sep 17 00:00:00 2001 From: jedi Date: Wed, 29 Jan 2020 21:28:38 +0100 Subject: [PATCH] wip --- entry.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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