9
0

Explicitly set uefi as default firmware (bsc#1245145) #9

Manually merged
malikirri merged 1 commits from malikirri/cockpit-machines:default-uefi into main 2025-07-10 16:50:08 +02:00
Member
No description provided.
autogits-devel requested review from abrooks 2025-07-09 10:21:54 +02:00
autogits-devel requested review from adamm 2025-07-09 10:21:54 +02:00
autogits-devel requested review from jzerebecki 2025-07-09 10:21:55 +02:00
abrooks reviewed 2025-07-09 11:03:30 +02:00
@@ -31,0 +23,4 @@
userPassword,
vmName,
sshKeys,
+ firmware: "uefi",
Member

Is there any concern to just always running uefi? Is our stance just drop support for bios completely?

Is there any concern to just always running uefi? Is our stance just drop support for bios completely?
Author
Member

I don't think the stance is to drop support for bios. But bios is considered a legacy so there was a request to make uefi the default https://bugzilla.suse.com/show_bug.cgi?id=1232691

I don't think the stance is to drop support for bios. But bios is considered a legacy so there was a request to make uefi the default https://bugzilla.suse.com/show_bug.cgi?id=1232691
Member

My only concern is if an image supports bios but not uefi we don't have any considerations for it

My only concern is if an image supports bios but not uefi we don't have any considerations for it
Author
Member

You should be able to change from uefi to bios after you've created the VM but haven't installed it yet but it looks to be bugged. I'll look into what's going on with that

You should be able to change from uefi to bios after you've created the VM but haven't installed it yet but it looks to be bugged. I'll look into what's going on with that
Author
Member

Updated the patch to fix the issues with switching from UEFI to BIOS before VM is installed

Updated the patch to fix the issues with switching from UEFI to BIOS before VM is installed
@@ -37,2 +28,2 @@
return "unknown";
} else {
logDebug(`CREATE_VM(${vmName}): install_machine.py '${JSON.stringify(args)}'`);
Member

Do we want to keep the logDebug here?

Do we want to keep the `logDebug` here?
Author
Member

logDebug is part of the original code base. That is just diff of a diff looking silly

`logDebug` is part of the original code base. That is just diff of a diff looking silly
adamm marked this conversation as resolved
malikirri force-pushed default-uefi from 64ccd4fe0e to fbe68bb066 2025-07-10 11:58:41 +02:00 Compare
abrooks approved these changes 2025-07-10 12:43:31 +02:00
abrooks left a comment
Member

I think this looks fine

I think this looks fine
adamm approved these changes 2025-07-10 14:26:43 +02:00
adamm left a comment
Owner

merge ok

merge ok
autogits-devel removed review request for jzerebecki 2025-07-10 16:49:31 +02:00
autogits-devel requested review from jzerebecki 2025-07-10 16:49:59 +02:00
malikirri manually merged commit fbe68bb066 into main 2025-07-10 16:50:08 +02:00
Sign in to join this conversation.
No Label
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cockpit/cockpit-machines#9
No description provided.