diff options
| author | John Estabrook <jestabro@vyos.io> | 2026-08-21 08:00:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-21 08:00:50 -0500 |
| commit | 0712fac9dddb4dbfede4409867d2973ccbfb5aa2 (patch) | |
| tree | 54b01fae4c493735918efb5229b613017521fe74 /interface-definitions | |
| parent | ac99e72affedc97c62d47d2391ade14fd6c2e884 (diff) | |
| parent | 7b960007e817b722596b7e388577d73ad7a87ed7 (diff) | |
| download | vyos-1x-0712fac9dddb4dbfede4409867d2973ccbfb5aa2.tar.gz vyos-1x-0712fac9dddb4dbfede4409867d2973ccbfb5aa2.zip | |
Merge pull request #5325 from alexandr-san4ez/T8868-rolling
kdump: T8868: Implement kernel crash dump support
Diffstat (limited to 'interface-definitions')
| -rw-r--r-- | interface-definitions/system_option.xml.in | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/interface-definitions/system_option.xml.in b/interface-definitions/system_option.xml.in index a87bee1a9..c295b2ebe 100644 --- a/interface-definitions/system_option.xml.in +++ b/interface-definitions/system_option.xml.in @@ -413,6 +413,44 @@ #include <include/source-interface.xml.i> </children> </node> + <node name="kdump"> + <properties> + <help>Kernel crash dump (kdump) settings</help> + </properties> + <children> + <leafNode name="memory"> + <properties> + <help>Amount of memory to reserve for the kernel crash dump</help> + <valueHelp> + <format>auto</format> + <description>Automatically determine memory reservation</description> + </valueHelp> + <valueHelp> + <format>u32:128-1048576</format> + <description>Memory size in megabytes</description> + </valueHelp> + <constraint> + <regex>(auto)</regex> + <validator name="numeric" argument="--range 128-1048576"/> + </constraint> + </properties> + <defaultValue>auto</defaultValue> + </leafNode> + <leafNode name="dump-path"> + <properties> + <help>Local directory to store kernel crash dumps</help> + <valueHelp> + <format>txt</format> + <description>Absolute path to crash dump directory</description> + </valueHelp> + <constraint> + <validator name="file-path" argument="--strict --directory --parent-dir /"/> + </constraint> + </properties> + <defaultValue>/var/crash</defaultValue> + </leafNode> + </children> + </node> <leafNode name="startup-beep"> <properties> <help>plays sound via system speaker when you can login</help> |
