← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1868876] Re: instance-data in templates

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3632

** Bug watch added: github.com/canonical/cloud-init/issues #3632
   https://github.com/canonical/cloud-init/issues/3632

** Changed in: cloud-init
       Status: Triaged => Expired

-- 
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:
  Expired

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



References