aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets/ntp.xml
blob: 0f1a10f5d14d53cb869f07b1ed8123a61ce7cf8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#if $getVar('ntp_server', '') == ""
    #set $ntp_server = '0.pool.ntp.org'
#end if
  <ntp-client>
    <configure_dhcp config:type="boolean">false</configure_dhcp>
    <peers config:type="list">
      <peer>
        <address>$ntp_server</address>
        <initial_sync config:type="boolean">true</initial_sync>
        <options></options>
        <type>server</type>
      </peer>
    </peers>
    <start_at_boot config:type="boolean">true</start_at_boot>
    <start_in_chroot config:type="boolean">true</start_in_chroot>
  </ntp-client>