wip
This commit is contained in:
parent
85f19d7842
commit
19dd942521
1 changed files with 4 additions and 2 deletions
4
entry.sh
4
entry.sh
|
@ -20,7 +20,9 @@ function first_stage(){
|
|||
mount | grep target | awk '{print $3}'| sort -r | while read LINE; do
|
||||
umount -l $LINE;
|
||||
done
|
||||
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(){
|
||||
|
|
Loading…
Reference in a new issue