Skip to content

Commit

Permalink
T861: op-mode: add "install mok" CLI command
Browse files Browse the repository at this point in the history
Deploy VyOS Secure Boot CA MOK (Machine Owner Key) into UEFI variables of
the running machine.
  • Loading branch information
c-po committed Sep 2, 2024
1 parent cd05f87 commit a6f5501
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions op-mode-definitions/install-mok.xml.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<interfaceDefinition>
<node name="install">
<children>
<leafNode name="mok">
<properties>
<help>Install Secure Boot MOK (Machine Owner Key)</help>
</properties>
<command>sudo mokutil --ignore-keyring --import /var/lib/shim-signed/mok/MOK.der</command>
</leafNode>
</children>
</node>
</interfaceDefinition>

0 comments on commit a6f5501

Please sign in to comment.