Skip to content

Instantly share code, notes, and snippets.

@askldjd
Created May 18, 2018 02:50
Show Gist options
  • Save askldjd/29a1234163a13d3bd76e736fa5f125b8 to your computer and use it in GitHub Desktop.
Save askldjd/29a1234163a13d3bd76e736fa5f125b8 to your computer and use it in GitHub Desktop.
Force cloud init to run in Ubuntu AWS
rm -rf /var/lib/cloud/sem/* /var/lib/cloud/instance /var/lib/cloud/instances/*
cloud-init init
cloud-init modules -m final
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment