DaDesktop

Linux Template Tweaking

Use a kernel specific to virtualization

Use the linux-image-kvm kernel, which is designed for KVM virtualization.

For example, on Ubuntu, you should run the following commands:

apt install linux-image-kvm
apt purge linux-image-generic
Clean up before publishing a template
# removes logs
journalctl --vacuum-size=1
# removes user history
history -c
(as root) rm /root/.bash_history