google-compute-engine,coreos,cloud-config"/>
  • 4
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

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" 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]

  • 1
Reply Report

Warm tip !!!

This article is reproduced from Stack Exchange / Stack Overflow, please click

Trending Tags