Commit b02a309
committed
guestfs: fix custom image bringup failure for Debian 13
When using custom images (like Debian 13 daily builds), the base_image
role would incorrectly attempt to build the image using virt-builder
even though a custom image workflow was configured. This failed because
"debian-13-generic-amd64-daily" is not a valid virt-builder template.
The issue had two root causes:
1. The base-image.yml task would run even when custom images were
configured, attempting to use virt-builder with an invalid template
2. The custom-image.yml task prepared the custom image but never copied
it to the base_image_pathname location expected by subsequent tasks
Fix both issues by:
- Adding a condition to skip base-image.yml when using custom images
- Copying the prepared custom image to the base_image_pathname location
This ensures custom images are properly downloaded, prepared with the
kdevops user configuration, and placed in the expected location for
VM provisioning.
Fixes: df31e8f55d7d ("guestfs: fix custom image partition not expanded after disk resize")
Generated-by: Claude AI
Signed-off-by: Luis Chamberlain <[email protected]>1 parent dea3962 commit b02a309
2 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
0 commit comments