This commit is contained in:
j3d1 2020-01-29 22:32:34 +01:00
parent 19fc3d8ffa
commit 8ba58e88c0

View file

@ -67,8 +67,8 @@ function first_stage(){
mount ${DEVICE}1 $TARGET/boot mount ${DEVICE}1 $TARGET/boot
echo mount ${DEVICE}1 $TARGET/boot echo mount ${DEVICE}1 $TARGET/boot
genfstab -U $TARGET | tee $TARGET/etc/fstab genfstab -U $TARGET | tee $TARGET/etc/fstab
lsblk -lpo NAME,UUID | grep $DEVICE | awk '{print $1}' UUID=$(lsblk -lpo NAME,UUID | grep ${DEVICE}2 | awk '{print $1}')
echo cryptlvm UID none luks > $TARGET/etc/crypttab echo cryptlvm UID=${UUID} none luks > $TARGET/etc/crypttab
} }
function second_stage(){ function second_stage(){