Public bug reported:

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)"]

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


** Tags: templating

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

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to