Example provided in classic image definition doesn't build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
Fix Committed
|
Low
|
Paul Mars |
Bug Description
OS: Ubuntu Unity 24.04
Ubuntu-image version: 3.4+snap1
When using example provided under this link: https:/
Image doesn't build at all.
Error:
```yaml
Error: yaml: unmarshal errors:
line 8: cannot unmarshal !!map into string
```
When editing this like from
```yaml
kernel:
name: linux-raspi
```
to:
```yaml
kernel: linux-raspi
```
Then ubuntu-image returns following error:
```
WARNING: rootfs.
WARNING: rootfs.
Error: Schema validation failed: [ModelAssertion: Does not match format 'uri']
```
Hey Damian,
Thank you for reporting the bug. I confirm it appears we completely forgot to keep this example up-to-date.
I will fix this. Meanwhile, feel free to look at https:/ /git.launchpad. net/ubuntu- images/ tree/ to get working and up-to-date examples to help you get started.
You can also read the current doc https:/ /canonical- subiquity. readthedocs- hosted. com/en/ latest/ reference/ ubuntu- image.html