mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-16 04:47:30 +00:00
[PR #12215/4d72ec32 backport][stable-13] xenserver_guest_info: use fallback chain for VDI format detection (#12230)
xenserver_guest_info: use fallback chain for VDI format detection (#12215)
* xenserver_guest_info: use fallback chain for VDI format detection
* changelog: add PR URL to
changelog fragment
* test: set mismatched vdi_type in vm-3 fixture to test fallback chain precedence
Set vdi_type to "vhd" while image-format remains "qcow2" so the unit
test verifies that image-format takes precedence in the fallback chain.
---------
(cherry picked from commit 4d72ec3299)
Co-authored-by: Shreyash <shrbhosa@redhat.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f5acbe2fef
commit
cdab3ee401
5 changed files with 22 additions and 6 deletions
|
|
@ -139,7 +139,7 @@
|
|||
"sharable": false,
|
||||
"sm_config": {
|
||||
"image-format": "qcow2",
|
||||
"vdi_type": "qcow2"
|
||||
"vdi_type": "vhd"
|
||||
},
|
||||
"snapshot_of": "OpaqueRef:NULL",
|
||||
"snapshot_time": "19700101T00:00:00Z",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue