wip
This commit is contained in:
parent
85f19d7842
commit
19dd942521
1 changed files with 4 additions and 2 deletions
6
entry.sh
6
entry.sh
|
@ -20,7 +20,9 @@ function first_stage(){
|
||||||
mount | grep target | awk '{print $3}'| sort -r | while read LINE; do
|
mount | grep target | awk '{print $3}'| sort -r | while read LINE; do
|
||||||
umount -l $LINE;
|
umount -l $LINE;
|
||||||
done
|
done
|
||||||
swapoff /dev/vg0/swap || true
|
if [ -b /dev/vg0/swap ]; then
|
||||||
|
swapoff /dev/vg0/swap || true
|
||||||
|
fi
|
||||||
vgchange -an /dev/vg0
|
vgchange -an /dev/vg0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -93,7 +95,7 @@ function second_stage(){
|
||||||
mkdir /snap
|
mkdir /snap
|
||||||
btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_basesystem)
|
btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_basesystem)
|
||||||
apt install -y task-mate-desktop mate-desktop-environment-extra
|
apt install -y task-mate-desktop mate-desktop-environment-extra
|
||||||
|
adduser jedi
|
||||||
}
|
}
|
||||||
|
|
||||||
function post_install_stage(){
|
function post_install_stage(){
|
||||||
|
|
Loading…
Reference in a new issue