This commit is contained in:
j3d1 2020-01-29 21:28:38 +01:00
parent c5a873265e
commit d4232602f3

View file

@ -37,13 +37,13 @@ function first_stage(){
lsblk lsblk
echo mkfs.ext4 ${DEVICE}1 echo mkfs.ext4 ${DEVICE}1
mkfs.ext4 ${DEVICE}1 yes | mkfs.ext4 ${DEVICE}1
( (
echo $luks_password echo $luks_password
echo $luks_password echo $luks_password
)| cryptsetup luksFormat ${DEVICE}2 )| cryptsetup luksFormat ${DEVICE}2
echo $luks_password | cryptsetup luksOpen ${DEVICE}2 cryptlvm echo $luks_password | cryptsetup luksOpen ${DEVICE}2 cryptlvm
mkfs.ext4 ${DEVICE}2 yes | mkfs.ext4 ${DEVICE}2
mount ${DEVICE}2 $TARGET mount ${DEVICE}2 $TARGET
echo mount ${DEVICE}2 $TARGET echo mount ${DEVICE}2 $TARGET
echo debootstrap sid $TARGET echo debootstrap sid $TARGET