Skip to content

Commit

Permalink
Windows 11: enable TPM and EFI persistence
Browse files Browse the repository at this point in the history
The Windows 11 template enables TPM and EFI, since both a required.
However, they were both non-persistent by default, which means bitlocker won't work.
Also, in recent versions of Windows 11, bitlocker requires both TPM and EFI to be persistent.
This enables persistent EFI and TPM, which requires a RWO FS storage class to be present.

Signed-off-by: Jed Lejosne <[email protected]>
  • Loading branch information
jean-edouard committed Sep 13, 2024
1 parent 112da40 commit d6da784
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/windows11.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ objects:
bootloader:
efi:
secureBoot: true
persistent: true
devices:
{% if item.multiqueue and item.cpus > 1 %}
networkInterfaceMultiqueue: True
Expand All @@ -180,7 +181,8 @@ objects:
bus: usb
name: tablet
{% endif %}
tpm: {}
tpm:
persistent: true
terminationGracePeriodSeconds: 3600
volumes:
- dataVolume:
Expand Down

0 comments on commit d6da784

Please sign in to comment.