Need jinja templating in config files
Bug #1913461 reported by
subkryl
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Wishlist
|
James Falcon |
Bug Description
It may be interresting to parse config files in /etc/cloud/
As an example :
## template: jinja
#cloud-config
runcmd:
- [hostname, "{{ ds.meta_
# - [hostname, "$(cloud-init query ds.meta_
Changed in cloud-init: | |
status: | Triaged → In Progress |
assignee: | nobody → James Falcon (falcojr) |
To post a comment you must log in.
Hello and thanks for your bug report. Cloud-init already supports jinja templating [1], does this cover your use case? If it doesn't, could you please explain a bit better what you are trying to achieve an how it's not covered by the current templating capabilities? Thanks!
https:/ /cloudinit. readthedocs. io/en/latest/ topics/ instancedata. html?highlight= jinja#using- instance- data