Skip to content

Instantly share code, notes, and snippets.

@levi730
Created June 24, 2020 14:48
Show Gist options
  • Save levi730/170dfa323d21c7f435f66f3244935b81 to your computer and use it in GitHub Desktop.
Save levi730/170dfa323d21c7f435f66f3244935b81 to your computer and use it in GitHub Desktop.
[#provisioning #ubuntu1804] Remove cloud.init
#!/bin/bash
echo 'datasource_list: [ None ]' | sudo -s tee /etc/cloud/cloud.cfg.d/90_dpkg.cfg
sudo apt-get purge cloud-init
sudo rm -rf /etc/cloud/; sudo rm -rf /var/lib/cloud/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment