sudo python3 -c "from cloudinit.stages import *; import pprint; import json; i=Init();i.fetch();m=Modules(i);print(json.dumps(m.cfg, indent=4))"
Created
October 24, 2018 00:53
-
-
Save ar45/2716f86f171097e5995c11a17b5b73f9 to your computer and use it in GitHub Desktop.
Parse and dump cloud init config
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment