[3.0][bug] The seed configurations format wrong from 'cloud-init' function
Bug #2032585 reported by
Laider Lai
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
Fix Released
|
Medium
|
Paul Mars |
Bug Description
Hi,
The 'cloud-init' of the 'customization' function helps to create seed configurations at /var/lib/
But the format of generated configurations is wrong.
All configurations missing the configuration header '#cloud-config'.
This issue makes cloud-init skip seed configurations for deploying the system as expected.
[Reproduce steps]
1. Build an amd64 image with 'cloud-init' function. Ex. set up the user/password
2. Use QEMU to launch the image and use the expected user/password to login into the shell
3. Failed to login into the shell
4. Mount the rootfs partition of the image, checking mntimg/
5. The settings of cloud-config.txt is empty.
Changed in ubuntu-image: | |
assignee: | nobody → Paul Mars (upils) |
Changed in ubuntu-image: | |
status: | Invalid → In Progress |
importance: | Undecided → Medium |
tags: | added: foundations-todo |
Changed in ubuntu-image: | |
status: | In Progress → Fix Committed |
tags: | removed: foundations-todo |
Changed in ubuntu-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We remove cloud-init settings from the project yaml. /git.launchpad. net/~laiderlai/ lyoncore/ +git/iot- image-builds/ commit/ ?id=53d4e8ff37d ca9d3e3ee2c46a0 ebcddcf1d7cd76
Then use a postscript to set cloud-init settings at first.
https:/