wip
This commit is contained in:
parent
19fc3d8ffa
commit
8ba58e88c0
1 changed files with 2 additions and 2 deletions
4
entry.sh
4
entry.sh
|
@ -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(){
|
||||||
|
|
Loading…
Reference in a new issue