live: place private.img of default VMs back on dm-snapshot device
Apparently those 350MB are critical on 4GB systems without a swap.
This commit is contained in:
parent
012cad5b47
commit
d57c5e814a
@ -135,6 +135,12 @@ for dir in /var/lib/qubes-base/*; do
|
||||
;;
|
||||
esac
|
||||
done
|
||||
for privateimg in /var/lib/qubes-base/*vms/*/private.img; do
|
||||
tmpfs_path=${privateimg/\/var\/lib\/qubes-base/\/home\/qubes}
|
||||
if rm $tmpfs_path; then
|
||||
ln -s $privateimg $tmpfs_path
|
||||
fi
|
||||
done
|
||||
mount --bind /home/qubes /var/lib/qubes
|
||||
|
||||
/usr/bin/qvm-prefs --offline-mode -s sys-net pcidevs '[]'
|
||||
|
Loading…
Reference in New Issue
Block a user