Skip to content

Instantly share code, notes, and snippets.

@netmarkjp
Last active July 25, 2017 12:24
Show Gist options
  • Save netmarkjp/6384187 to your computer and use it in GitHub Desktop.
Save netmarkjp/6384187 to your computer and use it in GitHub Desktop.
workaround to rerun cloud-init with user-data on amazon linux (want to run 'once per instance' )
sudo rm -f /var/lib/cloud/sem/*{defaults,runcmd,userdata,user-scripts}* /var/lib/cloud/data/cache/obj.pkl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment