|
|
d80d1f |
From 19b683f075d11b920552990d16b9a7a82eed12e3 Mon Sep 17 00:00:00 2001
|
|
|
d80d1f |
From: Andrea Bolognani <abologna@redhat.com>
|
|
|
d80d1f |
Date: Mon, 12 Dec 2022 19:32:32 +0100
|
|
|
d80d1f |
Subject: [PATCH] virt-install: Recommend '--boot uefi'
|
|
|
d80d1f |
|
|
|
d80d1f |
Firmware autoselection is the way to go in most cases, so
|
|
|
d80d1f |
recommend that instead of telling users that they should provide
|
|
|
d80d1f |
all information manually.
|
|
|
d80d1f |
|
|
|
d80d1f |
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
|
|
|
d80d1f |
(cherry picked from commit f2b5aaf458764ec7ecf105038e5f2f7cc26b6c17)
|
|
|
d80d1f |
|
|
|
d80d1f |
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2112154
|
|
|
d80d1f |
|
|
|
d80d1f |
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
|
|
|
d80d1f |
---
|
|
|
d80d1f |
man/virt-install.rst | 4 ++--
|
|
|
d80d1f |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
d80d1f |
|
|
|
d80d1f |
diff --git a/man/virt-install.rst b/man/virt-install.rst
|
|
|
d80d1f |
index 3a6e8dcd2..684f22655 100644
|
|
|
d80d1f |
--- a/man/virt-install.rst
|
|
|
d80d1f |
+++ b/man/virt-install.rst
|
|
|
d80d1f |
@@ -955,13 +955,13 @@ Some examples:
|
|
|
d80d1f |
Configure the VM to boot from UEFI. In order for virt-install to know the
|
|
|
d80d1f |
correct UEFI parameters, libvirt needs to be advertising known UEFI binaries
|
|
|
d80d1f |
via domcapabilities XML, so this will likely only work if using properly
|
|
|
d80d1f |
- configured distro packages.
|
|
|
d80d1f |
+ configured distro packages. This is the recommended UEFI setup.
|
|
|
d80d1f |
|
|
|
d80d1f |
``--boot loader=/.../OVMF_CODE.fd,loader.readonly=yes,loader.type=pflash,nvram.template=/.../OVMF_VARS.fd,loader_secure=no``
|
|
|
d80d1f |
Specify that the virtual machine use the custom OVMF binary as boot firmware,
|
|
|
d80d1f |
mapped as a virtual flash chip. In addition, request that libvirt instantiate
|
|
|
d80d1f |
the VM-specific UEFI varstore from the custom "/.../OVMF_VARS.fd" varstore
|
|
|
d80d1f |
- template. This is the recommended UEFI setup, and should be used if
|
|
|
d80d1f |
+ template. This setup is not recommended, and should only be used if
|
|
|
d80d1f |
--boot uefi doesn't know about your UEFI binaries. If your UEFI firmware
|
|
|
d80d1f |
supports Secure boot feature you can enable it via loader_secure.
|
|
|
d80d1f |
|
|
|
d80d1f |
--
|
|
|
d80d1f |
2.39.1
|
|
|
d80d1f |
|