summaryrefslogtreecommitdiff
path: root/interface-definitions/system_option.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-22 21:27:20 -0600
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-23 19:11:30 +0000
commit287c3edbac7f308d3240bdec253f0e5103e8eca1 (patch)
treee0d2d1d9358dd63f70e27d6f91860ccdf07e298a /interface-definitions/system_option.xml.in
parent0cf188d74f145cdd859bb1495a2b02f16fca6298 (diff)
downloadvyos-1x-287c3edbac7f308d3240bdec253f0e5103e8eca1.tar.gz
vyos-1x-287c3edbac7f308d3240bdec253f0e5103e8eca1.zip
T5979: add configurable kernel boot option 'disable-mitigations'
(cherry picked from commit 256346a66cc3bb20e93c68245ebca2f68f42e7b5)
Diffstat (limited to 'interface-definitions/system_option.xml.in')
-rw-r--r--interface-definitions/system_option.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/system_option.xml.in b/interface-definitions/system_option.xml.in
index adb45bdcc..602d7d100 100644
--- a/interface-definitions/system_option.xml.in
+++ b/interface-definitions/system_option.xml.in
@@ -32,6 +32,19 @@
<constraintErrorMessage>Must be ignore, reboot, or poweroff</constraintErrorMessage>
</properties>
</leafNode>
+ <node name="kernel">
+ <properties>
+ <help>Kernel boot parameters</help>
+ </properties>
+ <children>
+ <leafNode name="disable-mitigations">
+ <properties>
+ <help>Disable all optional CPU mitigations</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
<leafNode name="keyboard-layout">
<properties>
<help>System keyboard layout, type ISO2</help>