virt-fw-vars-setup(1)
β¨ NAME β¨
virt-fw-vars-setup β the little icon that generates a uefi variable store in json format π (it lives in the General Commands Manual section, for the record)
πΈ SYNOPSIS πΈ
virt-fw-vars-setup [--output] [--profile] [--enroll] [--arch]
[--set-pk-cert] [--add-kek-cert] [--add-db-cert] [--set-dbx-update]
[--disable-secure-boot] [-h|--help] [-V|--version]
π¦ DESCRIPTION π¦
okay so bestie, listen. this tool generates a uefi variable store in json format. that's the whole vibe. that's the assignment. periodt. π
π OPTIONS π
--output <FILE>β the json variable store output file β¨- if you don't specify it, the output goes to stdout instead. no cap.
-h,--helpβ prints help (peep the summary with-h) π«Ά-V,--versionβ prints version π
π QUICK SETUP π
--profile <NAME>β picks the 'db' certificate profile π- use
uefi*profiles for linux guests, andwin*profiles for windows guests. if you're in doubt (and honestly? valid), you can also use theallprofile, which includes both and matches the typical configuration of physical hardware. iconic behaviour tbh. - Possible values:
none: no certificateswin11: Windows CA certificates, 2011 + 2023win23: Windows CA certificate, 2023 onlywin+rom23: Windows CA + Option ROM certificates, 2023 onlyuefi11: UEFI CA certificates, 2011 + 2023uefi23: UEFI CA certificate, 2023uefi+rom23: UEFI CA + Option ROM certificates, 2023redhat: Red Hat UEFI CA certificateredhat+rom: Red Hat UEFI CA + Option ROM certificatesall: Both Windows and UEFI CA certificates, 2011 + 2023
- use
--enroll <MODE>[default:redhat] β picks the 'PK' enroll mode π- Possible values:
mgmt:EFI_CERT_EXTERNAL_MANAGEMENT_GUIDredhat: Red Hat Secure Boot (PK/KEK key 1)microsoft: Windows OEM Devices PK
- Possible values:
--arch <ARCH>β picks the efi architecture for the 'dbx' update π- by default, the native architecture gets used. she's lowkey effortless like that.
- Possible values:
aa64x64
π SPECIFY DETAILS π
--set-pk-cert <FILE>β sets the certificate for 'PK' β¨- this has higher priority than PK mode. the way she takes precedence? obsessed.
--add-kek-cert <FILE>β adds a certificate to 'KEK' π- can be specified multiple times. the default is to enroll the standard microsoft KEK certificates.
--add-db-cert <FILE>β adds a certificate to 'db' π- can be specified multiple times. certificates get enrolled in addition to the profile certificates. use
--profile noneif you want to specify all certificates explicitly, bestie.
- can be specified multiple times. certificates get enrolled in addition to the profile certificates. use
--set-dbx-update <FILE>β loads the 'dbx' update from a file πΈ- if specified, it replaces the compiled-in default update.
--disable-secure-bootβ disables secure boot π- it enrolls all secure boot variables but disables secure boot. yes, both. that's the whole thing.
π VERSION π
v0.6.6
π§ AUTHORS π§
Gerd Hoffmann <kraxel@redhat.com>
and that's a wrap, my love π«Ά this whole page is virt-fw-vars-setup 0.6.6, straight out of the virt-fw-vars-setup(1) manual. go forth and slay those uefi variables. π
β¨
π¦ where this page comes from
- centos-stream 10: virt-firmware-rs 26.10.2-1.el10 Β· MIT
- fedora 44: virt-firmware-rs 26.10.2-2.fc44 Β· ((MIT OR Apache-2.0) AND Unicode-DFS-2016) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-3-Clause) AND (MIT) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (MPL-2.0) AND (Unlicense OR MIT)
- fedora 44: virt-firmware-rs 26.9.1-2.fc44
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms