On GCE, ds.metadata.instance_data cannot be used for templating
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Wishlist
|
shine |
Bug Description
When running on GCE, the templating engine has a ds.metadata.
This is a feature request for instance_data to be presented as a dict rather than as an opaque string.
[Original Report]
I have a use-case where I need to query the metadata that was passed on creating the instance and use those values as variables in my cloud-config.
However, ds.meta_
Please consider making the instance_data field a query-able field?
Environment Information :
Operating System : Ubuntu 18.04.2 LTS
Cloud Init : 19.1-1-
Can you please run 'cloud-init collect-logs' and attach the output?
That will give more info on your request.
Then set bug back to 'New'.
Thanks.