wip
This commit is contained in:
parent
eec23e7b88
commit
cbb603f95b
1 changed files with 4 additions and 0 deletions
4
entry.sh
4
entry.sh
|
@ -16,6 +16,10 @@ function first_stage(){
|
||||||
|
|
||||||
apt install -y debootstrap cryptsetup btrfs-progs lvm2
|
apt install -y debootstrap cryptsetup btrfs-progs lvm2
|
||||||
|
|
||||||
|
if [ -d /dev/vg0 ]; then
|
||||||
|
vgchange -an /dev/vg0
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -b /dev/mapper/cryptlvm ]; then
|
if [ -b /dev/mapper/cryptlvm ]; then
|
||||||
cryptsetup luksClose cryptlvm
|
cryptsetup luksClose cryptlvm
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue