Comment 0 for bug 1124384

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote : cloud-init parses yaml incorrectly

Example from failure: https://jenkins.qa.ubuntu.com/job/raring-server-ec2/ARCH=amd64,REGION=eu-west-1,STORAGE=ebs,TEST=multi-part-ud,label=ubuntu-server-ec2-testing/17/console

Cloud-init is parsing YAML incorrectly
runcmd:
... - [ sh, -c, "echo ============= $(date) ': hello world!' ============= " ]
... - [ sh, -c, 'echo "$(date)" > /root/runcmd.date.txt' ]
... - [ wget, "http://slashdot.org", -O, /tmp/index.html ]
... - touch /tmp/done

Fails, while changing "- touch /tmp/done" to " - [ touch /tmp/done ]" works.