all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [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
  2025-04-06 19:52 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

* [pve-devel] applied: [PATCH manager] fix #6116: ui: qemu: create wizard: order install ISO before additional ISO in boot order
  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
@ 2025-04-06 19:52 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-04-06 19:52 UTC (permalink / raw)
  To: pve-devel, Fiona Ebner


On Thu, 30 Jan 2025 10:49:56 +0100, Fiona Ebner wrote:
> 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").

Applied, thanks!

[1/1] fix #6116: ui: qemu: create wizard: order install ISO before additional ISO in boot order
      commit: 0326691c2f90f8ad9b80f36f419f697f24091c76


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-06 19:52 UTC | newest]

Thread overview: 2+ messages (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
2025-04-06 19:52 ` [pve-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal