summaryrefslogtreecommitdiff
path: root/interface-definitions/system-options.xml.in
blob: 5fa0635bd339d00453c3553b38943d77284a044c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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>