← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1881925] Re: Schema validation fails on jinja template

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3701

** Bug watch added: github.com/canonical/cloud-init/issues #3701
   https://github.com/canonical/cloud-init/issues/3701

** Changed in: cloud-init
       Status: In Progress => Expired

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

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



References