instance-data in templates

Bug #1868876 reported by Andras Kovacs
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Wishlist
Unassigned

Bug Description

Dear Team,

Could you make it possible to use instance-data variables in the /etc/cloud/templates/* files like hosts.*.tmpl files?

I've tried to add a line like this:
{{ ds.meta_data.local_ipv4 }} {{fqdn}} {{hostname}}

but it's not working.

I'm using a custom openstack fork.
I'm not attaching logs, because it's not a bug, more like a feature-request.

Of course, cloud-init is great and I can do it with runcmd easily.

Thank you!
Andras

Revision history for this message
Ryan Harper (raharper) wrote :

Thank you for filing the feature request.

Changed in cloud-init:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.