Created
June 2, 2016 14:28
-
-
Save maoueh/8662b8e0da0ccd99296a9a9a6b67dad0 to your computer and use it in GitHub Desktop.
Small script to test changes made to cloud init config without rebooting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now this is a lifesaver. Thank you!