Schema validation fails on jinja template
Bug #1881925 reported by
James Falcon
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Unassigned |
Bug Description
$ cat > test.yaml << EOF
## template: jinja
#cloud-config
runcmd:
- echo 'hostname: {{ ds.meta_
EOF
$ cloud-init devel schema -c test.yaml
Cloud config schema errors: format-l1.c1: File test.yaml needs to begin with "#cloud-config"
Changed in cloud-init: | |
importance: | Undecided → Medium |
To post a comment you must log in.
good bug, needs wiring into cloudinit/ handlers/ jinja_template: render_ jinja_payload_ from_file I believe.