Skip to content

Instantly share code, notes, and snippets.

@cconard96
Created November 10, 2019 23:34
Show Gist options
  • Save cconard96/3551d52f8918944c68f4427a4b65f9d3 to your computer and use it in GitHub Desktop.
Save cconard96/3551d52f8918944c68f4427a4b65f9d3 to your computer and use it in GitHub Desktop.
Remove Ubuntu Cloud-Init
echo 'datasource_list: [ None ]' | sudo -s tee /etc/cloud/cloud.cfg.d/90_dpkg.cfg
sudo apt purge cloud-init
sudo rm -rf /etc/cloud/
sudo rm -rf /var/lib/cloud/
sudo reboot -h now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment