Linux Template Tweaking

Use a kernel built for virtualization

Work with the linux-image-kvm kernel, which is purpose-built for KVM virtualisation.

As an example, on Ubuntu here in New Zealand, you'd run these commands:

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