禁用
sudo touch /etc/cloud/cloud-init.disabled
* 重启后生效
卸载
sudo apt purge cloud-init -y sudo rm -rf /etc/cloud && sudo rm -rf /var/lib/cloud/
引用地址:https://www.jianshu.com/p/2fcfee762877