Linux Template Tweaking
Use a kernel specific to virtualisation
Use the linux-image-kvm kernel, which is designed for KVM virtualisation.
For example, on Ubuntu, you should execute 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
