-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
rhel-9.2.0
-
None
-
Moderate
-
rhel-sst-virtualization
-
ssg_virtualization
-
3
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
Use virt-install to install a win2k22 VM via ISO, but virt-install automatically detects the version from the ISO as win2k16, that's incorrect.
Version-Release number of selected component (if applicable):
virt-install-4.0.0-1.el9.noarch
virt-manager-common-4.0.0-1.el9.noarch
osinfo-db-20220727-3.el9.noarch
libosinfo-1.9.0-5.el9.x86_64
libvirt-8.9.0-2.el9.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Download a win2k22 ISO: en-us_windows_server_2022_x64_dvd_620d7eac.iso
2. Install a win2k22 VM via the iso.
- virt-install --cdrom /var/lib/libvirt/images/en-us_windows_server_2022_x64_dvd_620d7eac.iso --osinfo detect=on,require=off
Using default --name win2k16
Using win2k16 default --memory 2048
Using win2k16 default --disk size=40
Starting install...
Allocating 'win2k16.qcow2' | 79 MB 00:00:02 ...
Creating domain... | 0 B 00:00:00
Running graphical console command: virt-viewer --connect qemu:///system --wait win2k16
....
Actual results:
As per the description, virt-install automatically detects the VM's version as win2k16.
Expected results:
Fix it.
Additional info:
The attachment is the debug log: virt-install.log
- external trackers