This commit is contained in:
j3d1 2020-01-29 22:35:04 +01:00
parent fe5dfc3b27
commit 70c35e7e49

View file

@ -68,7 +68,7 @@ function first_stage(){
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
UUID=$(lsblk -lpo NAME,UUID | grep ${DEVICE}2 | awk '{print $1}') UUID=$(lsblk -lpo NAME,UUID | grep ${DEVICE}2 | awk '{print $1}')
echo cryptlvm UID=${UUID} none luks > $TARGET/etc/crypttab echo cryptlvm UUID=${UUID} none luks > $TARGET/etc/crypttab
} }
function second_stage(){ function second_stage(){