summaryrefslogtreecommitdiff
path: root/interface-definitions/system-time-zone.xml.in
blob: f6b291984bc60e9e823abc25e49f7b0dd677755b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="system">
    <children>
      <leafNode name="time-zone" owner="${vyos_conf_scripts_dir}/system-timezone.py">
        <properties>
          <help>Local time zone (default UTC)</help>
          <priority>100</priority>
          <completionHelp>
            <script>timedatectl list-timezones</script>
          </completionHelp>
          <constraint>
            <validator name="timezone" argument="--validate"/>
          </constraint>
        </properties>
      </leafNode>
    </children>
  </node>
</interfaceDefinition>