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

aknuds1
  • 2,085
  • 3
  • 16
  • 23

1 Answers1

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]

Ivan C
  • 56
  • 1