-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Automatic VM volume type (cd-rom/disk) based on image type only works for first disk #5142
Comments
The onImageChange() function sets the VM volume type="cd-rom" and bus="sata" when an ISO image is selected, but it only works for the first volume. This commit enables the automatic type and bus selection for all volumes attached to a VM. Related issue: harvester/harvester#5142 Signed-off-by: Tim Serong <tserong@suse.com>
The onImageChange() function sets the VM volume type="cd-rom" and bus="sata" when an ISO image is selected, but it only works for the first volume. This commit enables the automatic type and bus selection for all volumes attached to a VM. Related issue: harvester/harvester#5142 Signed-off-by: Tim Serong <tserong@suse.com>
The onImageChange() function sets the VM volume type="cd-rom" and bus="sata" when an ISO image is selected, but it only works for the first volume. This commit enables the automatic type and bus selection for all volumes attached to a VM. Related issue: harvester/harvester#5142 Signed-off-by: Tim Serong <tserong@suse.com>
Pre Ready-For-Testing Checklist
|
Automation e2e test issue: harvester/tests#1290 |
The onImageChange() function sets the VM volume type="cd-rom" and bus="sata" when an ISO image is selected, but it only works for the first volume. This commit enables the automatic type and bus selection for all volumes attached to a VM. Related issue: harvester/harvester#5142 Signed-off-by: Tim Serong <tserong@suse.com>
The onImageChange() function sets the VM volume type="cd-rom" and bus="sata" when an ISO image is selected, but it only works for the first volume. This commit enables the automatic type and bus selection for all volumes attached to a VM. Related issue: harvester/harvester#5142 Signed-off-by: Tim Serong <tserong@suse.com>
The onImageChange() function sets the VM volume type="cd-rom" and bus="sata" when an ISO image is selected, but it only works for the first volume. This commit enables the automatic type and bus selection for all volumes attached to a VM. Related issue: harvester/harvester#5142 Signed-off-by: Tim Serong <tserong@suse.com> (cherry picked from commit 90e6535)
The onImageChange() function sets the VM volume type="cd-rom" and bus="sata" when an ISO image is selected, but it only works for the first volume. This commit enables the automatic type and bus selection for all volumes attached to a VM. Related issue: harvester/harvester#5142 Signed-off-by: Tim Serong <tserong@suse.com> (cherry picked from commit 90e6535)
The onImageChange() function sets the VM volume type="cd-rom" and bus="sata" when an ISO image is selected, but it only works for the first volume. This commit enables the automatic type and bus selection for all volumes attached to a VM. Related issue: harvester/harvester#5142 Signed-off-by: Tim Serong <tserong@suse.com>
The onImageChange() function sets the VM volume type="cd-rom" and bus="sata" when an ISO image is selected, but it only works for the first volume. This commit enables the automatic type and bus selection for all volumes attached to a VM. Related issue: harvester/harvester#5142 Signed-off-by: Tim Serong <tserong@suse.com> (cherry picked from commit 90e6535)
The onImageChange() function sets the VM volume type="cd-rom" and bus="sata" when an ISO image is selected, but it only works for the first volume. This commit enables the automatic type and bus selection for all volumes attached to a VM. Related issue: harvester/harvester#5142 Signed-off-by: Tim Serong <tserong@suse.com> (cherry picked from commit 90e6535)
Describe the bug
When creating a new VM, on the Volumes tab, if you select an ISO Image, the image Type is automatically set to cd-rom, and the Bus to SATA:
If I change the image to something else (not an ISO), the Type changes to disk and the Bus to VirtIO. This automatic update only applies to the first disk. If I add a second disk and select an ISO image, the type remains disk and the bus VirtIO:
I'm at a loss as to understand why we'd only want this automatic disk type and bus setting to happen for the first disk. It should apply for any disk.
(Apologies for missing highlighting the bus on the screenshots)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The type should change to cd-rom and the bus to SATA for any disk with an ISO image (not just the first disk)
Additional context
This should fix it:
The text was updated successfully, but these errors were encountered: