diff options
author | zsdc <taras@vyos.io> | 2019-12-30 16:04:46 +0200 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2019-12-30 16:04:46 +0200 |
commit | f7eda283b6eefbbc349384c22a1e15a1d24ae384 (patch) | |
tree | da4e26a68aeb143045ffa7d38b0ebd9a2ea49fed /interface-definitions/system-options.xml.in | |
parent | 85b4a87ffe874726a190a42ed2d754946d5dec68 (diff) | |
parent | b9a6dab2d4f162eba59b9eec989b1de1b249f3fd (diff) | |
download | vyos-1x-f7eda283b6eefbbc349384c22a1e15a1d24ae384.tar.gz vyos-1x-f7eda283b6eefbbc349384c22a1e15a1d24ae384.zip |
Merge remote-tracking branch 'upstream/current' into T1514
Diffstat (limited to 'interface-definitions/system-options.xml.in')
-rw-r--r-- | interface-definitions/system-options.xml.in | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/interface-definitions/system-options.xml.in b/interface-definitions/system-options.xml.in new file mode 100644 index 000000000..5fa0635bd --- /dev/null +++ b/interface-definitions/system-options.xml.in @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="system"> + <children> + <node name="options" owner="${vyos_conf_scripts_dir}/system-options.py"> + <properties> + <help>System Options</help> + <priority>400</priority> + </properties> + <children> + <leafNode name="ctrl-alt-del-action"> + <properties> + <help>Ctrl-Alt-Delete action</help> + <completionHelp> + <list>ignore reboot poweroff</list> + </completionHelp> + <valueHelp> + <format>ignore</format> + <description>Ignore Ctrl-Alt-Delete</description> + </valueHelp> + <valueHelp> + <format>reboot</format> + <description>Reboot VyOS</description> + </valueHelp> + <valueHelp> + <format>poweroff</format> + <description>Poweroff VyOS</description> + </valueHelp> + <constraint> + <regex>(ignore|reboot|poweroff)</regex> + </constraint> + <constraintErrorMessage>Must be ignore, reboot, or poweroff</constraintErrorMessage> + </properties> + </leafNode> + <leafNode name="reboot-on-panic"> + <properties> + <help>Reboot system on kernel panic</help> + <valueless/> + </properties> + </leafNode> + </children> + </node> + </children> + </node> +</interfaceDefinition> |