# Remove Cloud-Init From Ubuntu Server

The easiest method; create cloud-init.disabled file in /etc/cloud directory and reboot the system.

sudo touch /etc/cloud/cloud-init.disabled

and reboot the system

sudo reboot

Another easiest method; Remove cloud-init package and folder, this is not disabling cloud-init but completely removing cloud-init package from your Ubuntu Server machine

sudo apt purge cloud-init -y

Remove /etc/cloud folder

sudo rm -rf /etc/cloud && sudo rm -rf /var/lib/cloud/

Reboot the system

sudo reboot



© DarknessCode - LinuxSucks