Fix neptune install script

This commit is contained in:
2024-11-10 13:34:53 +01:00
parent c6c5812245
commit ee824be6fa

View File

@@ -33,8 +33,8 @@ EOF
sleep 1 sleep 1
while : ; do while : ; do
cryptsetup --batch-mode luksFormat --iter-time 1000 ${DEVICE}3 cryptsetup --batch-mode luksFormat --iter-time 1000 ${DEVICE}p3
cryptsetup --batch-mode open --tries 1 ${DEVICE}3 cryptpart && break cryptsetup --batch-mode open --tries 1 ${DEVICE}p3 cryptpart && break
done done
pvcreate /dev/mapper/cryptpart pvcreate /dev/mapper/cryptpart