This commit is contained in:
j3d1 2020-05-09 14:03:33 +02:00
parent 9c06148f45
commit 565412c7b4

View file

@ -70,6 +70,7 @@ function first_stage(){
#)| cryptsetup luksFormat ${DEVICE}2 #)| cryptsetup luksFormat ${DEVICE}2
#echo $LUKS_PASSWORD | cryptsetup luksOpen ${DEVICE}2 cryptlvm #echo $LUKS_PASSWORD | cryptsetup luksOpen ${DEVICE}2 cryptlvm
#unset LUKS_PASSWORD #unset LUKS_PASSWORD
wipefs -a ${DEVICE}2
pvcreate ${DEVICE}2 pvcreate ${DEVICE}2
vgcreate vg0 ${DEVICE}2 vgcreate vg0 ${DEVICE}2