This commit is contained in:
j3d1 2020-01-29 21:51:19 +01:00
parent eec23e7b88
commit cbb603f95b

View file

@ -16,6 +16,10 @@ function first_stage(){
apt install -y debootstrap cryptsetup btrfs-progs lvm2
if [ -d /dev/vg0 ]; then
vgchange -an /dev/vg0
fi
if [ -b /dev/mapper/cryptlvm ]; then
cryptsetup luksClose cryptlvm
fi