Linux Template Tweaking

Use a virtualisation-specific kernel

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

For example, on Ubuntu, run the following commands:

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