From d3e673bdabbc437a33ace2272cee3a55ba0408f6 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 26 Aug 2024 20:26:18 +0200 Subject: [PATCH] T861: op-mode: add "install mok" CLI command Deploy VyOS Secure Boot CA MOK (Machine Owner Key) into UEFI variables of the running machine. --- op-mode-definitions/install-mok.xml.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 op-mode-definitions/install-mok.xml.in diff --git a/op-mode-definitions/install-mok.xml.in b/op-mode-definitions/install-mok.xml.in new file mode 100644 index 00000000000..732b0bc3c26 --- /dev/null +++ b/op-mode-definitions/install-mok.xml.in @@ -0,0 +1,13 @@ + + + + + + + Install Secure Boot MOK (Machine Owner Key) + + sudo mokutil --ignore-keyring --import /var/lib/shim-signed/mok/MOK.der + + + +