1

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)?

1

From CoreOS machine:
curl -H "Metadata-Flavor:Google" http://169.254.169.254/computeMetadata/v1/instance/attributes/user-data

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.