I've got CoreOS beta 991.1.0 running on Google Compute Engine, and cloud-config is applied via the GCE instance's user_data metadata variable. How can I print the currently active cloud-config (for debugging purposes)?


From CoreOS machine:
curl -H "Metadata-Flavor:Google"

From your localhost (look for - key: user-data):
gcloud compute instances describe --zone [zone] [machine-name]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.