Public bug reported:
$ cat > test.yaml << EOF
## template: jinja
#cloud-config
runcmd:
- echo 'hostname: {{ ds.meta_data.public_hostname }}'
EOF
$ cloud-init devel schema -c test.yaml
Cloud config schema errors: format-l1.c1: File test.yaml needs to begin with
"#cloud-config"
** 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/1881925
Title:
Schema validation fails on jinja template
Status in cloud-init:
New
Bug description:
$ cat > test.yaml << EOF
## template: jinja
#cloud-config
runcmd:
- echo 'hostname: {{ ds.meta_data.public_hostname }}'
EOF
$ cloud-init devel schema -c test.yaml
Cloud config schema errors: format-l1.c1: File test.yaml needs to begin with
"#cloud-config"
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1881925/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp