Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Small script to test changes made to cloud init config without rebooting
rm -rf /var/lib/cloud/instance && rm -rf /var/lib/cloud/instances/* && rm -rf /var/lib/cloud/sem/*
cloud-init init && cloud-init modules --mode config && cloud-init modules --mode final

This comment has been minimized.

Copy link

@waveywhite waveywhite commented Nov 4, 2018

Now this is a lifesaver. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment