summaryrefslogtreecommitdiff
path: root/interface-definitions/system_time-zone.xml.in
blob: 65cce9e95b7c0b8c6a7b58b9168c816379873d45 (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>