meta-data.yaml is not cloud-config, should not be identified as such
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Fix Released
|
Low
|
Unassigned |
Bug Description
meta-data provided for lxd images includes 'cloud-
which ends up being rendered into
/var/lib/
identifies itself as '#cloud-config'
It is not cloud-config, so we should remove that comment.
Cloud-init loads that file as yaml.
The easy fix is just to delete the '#cloud-config' line.
$ wget http://
$ tar xvf meta-data.tar.xz
metadata.yaml
templates/
templates/
templates/
templates/
templates/
templates/
$ cat templates/
#cloud-config
instance-id: {{ container.name }}
local-hostname: {{ container.name }}
{{ config_
Changed in cloud-images: | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: | added: id-5a4bb281774307df5e1d570e |
This was fixed with the related branch above and confirmed it is still fixed. Marking fix released.