This commit is contained in:
j3d1 2020-01-31 12:00:17 +01:00
parent 85f19d7842
commit 19dd942521

View file

@ -20,7 +20,9 @@ function first_stage(){
mount | grep target | awk '{print $3}'| sort -r | while read LINE; do
umount -l $LINE;
done
swapoff /dev/vg0/swap || true
if [ -b /dev/vg0/swap ]; then
swapoff /dev/vg0/swap || true
fi
vgchange -an /dev/vg0
fi
@ -93,7 +95,7 @@ function second_stage(){
mkdir /snap
btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_basesystem)
apt install -y task-mate-desktop mate-desktop-environment-extra
adduser jedi
}
function post_install_stage(){