compass-adapters/cobbler/snippets/ntp.xml
xiaodongwang 1b3faedded add initial version of suse support
Change-Id: If960011e7ac8996ce1c0365b9dd06ed89b26fa8a
2015-03-03 22:51:03 -08:00

17 lines
538 B
XML

#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>