yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #90381
[Bug 1913461] Re: Need jinja templating in config files
This bug is believed to be fixed in cloud-init in version 22.4. If this
is still a problem for you, please make a comment and set the state back
to New
Thank you.
** Changed in: cloud-init
Status: In Progress => Fix Released
--
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/1913461
Title:
Need jinja templating in config files
Status in cloud-init:
Fix Released
Bug description:
It may be interresting to parse config files in
/etc/cloud/cloud.cfg/*.cfg for jinja templating.
As an example :
## template: jinja
#cloud-config
runcmd:
- [hostname, "{{ ds.meta_data.tags.Name }}"]
# - [hostname, "$(cloud-init query ds.meta_data.tags.Name)"]
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1913461/+subscriptions
References