💾 Archived View for darknesscode.xyz › notes › remove-cloud-init-ubuntu.gmi captured on 2024-02-05 at 09:39:54. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-06-03)
-=-=-=-=-=-=-
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