wip
This commit is contained in:
parent
523cf80c9e
commit
2291f99071
1 changed files with 1 additions and 0 deletions
1
entry.sh
1
entry.sh
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue