← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1868876] [NEW] instance-data in templates

 

Public bug reported:

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

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1868876

Title:
  instance-data in templates

Status in cloud-init:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1868876/+subscriptions


Follow ups