Linux 模板微調
使用專為虛擬化設計的核心
使用 linux-image-kvm 核心,這是專為 KVM 虛擬化設計的。
例如,在 Ubuntu 中,您應執行以下指令:
apt install linux-image-kvm apt purge linux-image-generic
發布範本前進行清理
# removes logs journalctl --vacuum-size=1 # removes user history history -c
(as root) rm /root/.bash_history