Closed mvollmer closed 4 months ago
This was hella confusing. I have a Alpine ISO in my default pool, which meant that each newly created volume in that pool would be added as a CDROM to the machine. I didn't get to use a virtio bus, and the image format was always raw, but it was still labelled as "disk" in the UI, not "cdrom". Very magic. I blame useEffect
.
Yes, yes, a test would be nice... :-)
Yes, yes, a test would be nice... :-)
Added, and it found a bug. :-)
Rebased, to get a new run after re-dropping cloud-init from alpine. The previous run was way too red.
This breaks testAddDiskDirPool everywhere, I'm afraid
This breaks testAddDiskDirPool everywhere, I'm afraid
That was the switch to q35 by default... now cdroms can't be hotplugged anymore apparently (except on rhel-9???). I rearrange the tests a bit.
Specifically, don't declare the new device for a new volume to be a CDROM when the first volume in the selected pool happens to be a ISO.