This commit is contained in:
j3d1 2020-01-29 22:02:58 +01:00
parent 523cf80c9e
commit 2291f99071

View file

@ -17,6 +17,7 @@ function first_stage(){
apt install -y debootstrap cryptsetup btrfs-progs lvm2 apt install -y debootstrap cryptsetup btrfs-progs lvm2
if [ -d /dev/vg0 ]; then if [ -d /dev/vg0 ]; then
swapoff /dev/vg0/swap || true
vgchange -an /dev/vg0 vgchange -an /dev/vg0
fi fi