Skip to content
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

How to default to UEFI #1912

Open
mrguitar opened this issue Nov 20, 2024 · 3 comments
Open

How to default to UEFI #1912

mrguitar opened this issue Nov 20, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@mrguitar
Copy link

First, it's amazing to see how much this plugin has progressed! Congrats; it's awesome.

I'm pretty sure that both RHEL & Fedora have switched the default for VM creation from legacy BIOS to UEFI. I notice that when I use cockpit-machine to create a VM it's still defaulting to BIOS. 1) Can users change that? It's a drag to have to change this setting per instance I create. 2) I think it's time we start defaulting towards a bios-less world and default to UEFI. Thoughts?

Thanks!

@garrett
Copy link
Member

garrett commented Nov 21, 2024

Thanks for bringing this up! I agree; we should make UEFI the default.

Right now, you have to choose "create and edit" then click on BIOS to change it to UEFI before installing. This isn't ideal.

In our Matrix channel, @martinpitt, @jelly, and I discussed this a bit. libosinfo has <firmware arch="x86_64" type="efi"/> for OSes that could boot in EFI mode.

(If, for whatever reason, we can't parse that information from osinfo-query, then having a fallback of a cutoff date of 2010 should be "safe". We could even bump it up to 2015 to be absolutely sure.)

@jelly
Copy link
Member

jelly commented Nov 21, 2024

Ideally virt-install would default to UEFI so we don't have to change anything and the cockpit-machines and virt-install command line experience is the same. There is an issue for virt-install for this.

@mrguitar
Copy link
Author

Great point with virt-install; I hope they change the default as well. In the meantime, it's not really as big of problem for virt-install users as they can just pass something like "--boot uefi" and get preciously what they need. There's no pain for virt-install users. I wish I could just set it once and get what I need for the VMs I create via cockpit-machines. I'm aware cockpit tries to avoid configuration (which is smart). ...but it would be great if there was a way to not manually reconfigure this on each VM. $0.02

@jelly jelly added the enhancement New feature or request label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants