* [pve-devel] [PATCH manager] fix #6116: ui: qemu: create wizard: order install ISO before additional ISO in boot order
@ 2025-01-30 9:49 Fiona Ebner
0 siblings, 0 replies; only message in thread
From: Fiona Ebner @ 2025-01-30 9:49 UTC (permalink / raw)
To: pve-devel
Also clarify the function comment with the original intention for why
this was added in the frontend (the backend cannot know which is
which), see commit fc3a88ad ("ui: qemu wizard: use better boot order
for second cd drive").
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
www/manager6/qemu/CreateWizard.js | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/www/manager6/qemu/CreateWizard.js b/www/manager6/qemu/CreateWizard.js
index 520b5ac2..96949fe9 100644
--- a/www/manager6/qemu/CreateWizard.js
+++ b/www/manager6/qemu/CreateWizard.js
@@ -28,9 +28,8 @@ Ext.define('PVE.qemu.CreateWizard', {
// fot the special case that we have 2 cdrom drives
//
- // emulates part of the backend bootorder logic, but includes all
- // cdrom drives since we don't know which one the user put in a bootable iso
- // and hardcodes the known values (ide0/2, net0)
+ // emulates part of the backend bootorder logic, but includes all cdrom drives since the backend
+ // cannot know which one is a bootable iso and hardcodes the known values (ide0/2, net0)
calculateBootOrder: function(values) {
// user selected windows + second cdrom
if (values.ide0 && values.ide0.match(/media=cdrom/)) {
@@ -51,7 +50,7 @@ Ext.define('PVE.qemu.CreateWizard', {
if (disk) {
order.push(disk);
}
- order.push('ide0', 'ide2');
+ order.push('ide2', 'ide0'); // ide2 is the install ISO and should be first
if (values.net0) {
order.push('net0');
}
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-01-30 9:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-30 9:49 [pve-devel] [PATCH manager] fix #6116: ui: qemu: create wizard: order install ISO before additional ISO in boot order Fiona Ebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox