mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
36 lines
721 B
Plaintext
36 lines
721 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * virt/virtual_machines/advanced_vm_management/virt-uefi-mode-for-vms.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="configuring-vm-with-persistent-efi_{context}"]
|
|
= Configuring VMs with persistent EFI
|
|
|
|
[role="_abstract"]
|
|
You can configure a VM to have EFI persistence enabled by editing its manifest file.
|
|
|
|
.Prerequisites
|
|
|
|
* `VMPersistentState` feature gate enabled.
|
|
|
|
.Procedure
|
|
|
|
* Edit the VM manifest file and save to apply settings.
|
|
+
|
|
[source,yaml]
|
|
----
|
|
apiVersion: kubevirt.io/v1
|
|
kind: VirtualMachine
|
|
metadata:
|
|
name: vm
|
|
spec:
|
|
template:
|
|
spec:
|
|
domain:
|
|
firmware:
|
|
bootloader:
|
|
efi:
|
|
persistent: true
|
|
# ...
|
|
----
|