xenserver_guest: changed cdrom handling for userdevice != 3, fixes #11624 (#11702)

* xenserver_guest: changed cdrom handling for userdevice != 3, fixes #11624

  - CD-ROM handling code has been moved before disk handling code. This more
    closely mimics XenCenter/XCP-ng Center behavior. CD-ROM device, if added,
    will now grab position 3 before any disk grabs it.
  - Position 3 is now skipped when adding disks to leave it reserved for
    CD-ROM device. If any disk ends up occupying position 3 and CD-ROM
    device ends up pushed to position above 3, booting from ISO is not
    possible (#11624).

* Added changelog fragment for #11702

* Added missing issue and PR URLs to changelog fragment for #11702

* Fixed changelog fragment for #11702
This commit is contained in:
Bojan Vitnik
2026-04-17 18:33:34 +02:00
committed by GitHub
parent 076bc4e03b
commit 314863e3a7
2 changed files with 140 additions and 117 deletions

View File

@@ -0,0 +1,7 @@
bugfixes:
- xenserver_guest - fix an issue where booting from ISO is not possible
because CD-ROM device is placed in position above number 3. Position
number 3 is now reserved for CD-ROM device and cannot be occupied by
a disk
(https://github.com/ansible-collections/community.general/issues/11624,
https://github.com/ansible-collections/community.general/pull/11702).