DaDesktop

Fine-Tuning Linux Templates

Use a virtualization-specific kernel

Work with the linux-image-kvm kernel, designed specifically for KVM virtualization.

For instance, on Ubuntu, run the following commands:

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