/
etc
/
cloud
/
templates
/
/etc/cloud/templates
mkdir
upload
Name
Size
Mode
Actions
chef_client.rb.tmpl
1667
0644
edit
dl
rm
chrony.conf.alpine.tmpl
1113
0644
edit
dl
rm
chrony.conf.centos.tmpl
1181
0644
edit
dl
rm
chrony.conf.cos.tmpl
775
0644
edit
dl
rm
chrony.conf.debian.tmpl
1111
0644
edit
dl
rm
chrony.conf.fedora.tmpl
1269
0644
edit
dl
rm
chrony.conf.freebsd.tmpl
14216
0644
edit
dl
rm
chrony.conf.opensuse-leap.tmpl
991
0644
edit
dl
rm
chrony.conf.opensuse-microos.tmpl
991
0644
edit
dl
rm
chrony.conf.opensuse-tumbleweed.tmpl
991
0644
edit
dl
rm
chrony.conf.opensuse.tmpl
991
0644
edit
dl
rm
chrony.conf.photon.tmpl
1269
0644
edit
dl
rm
chrony.conf.rhel.tmpl
1181
0644
edit
dl
rm
chrony.conf.sle-micro.tmpl
991
0644
edit
dl
rm
chrony.conf.sles.tmpl
991
0644
edit
dl
rm
chrony.conf.sle_hpc.tmpl
991
0644
edit
dl
rm
chrony.conf.ubuntu.tmpl
1280
0644
edit
dl
rm
host.mariner.tmpl
898
0644
edit
dl
rm
hosts.alpine.tmpl
919
0644
edit
dl
rm
hosts.arch.tmpl
841
0644
edit
dl
rm
hosts.debian.tmpl
845
0644
edit
dl
rm
hosts.freebsd.tmpl
911
0644
edit
dl
rm
hosts.gentoo.tmpl
910
0644
edit
dl
rm
hosts.photon.tmpl
874
0644
edit
dl
rm
hosts.redhat.tmpl
912
0644
edit
dl
rm
hosts.suse.tmpl
1067
0644
edit
dl
rm
ntp.conf.alpine.tmpl
203
0644
edit
dl
rm
ntp.conf.debian.tmpl
2150
0644
edit
dl
rm
ntp.conf.fedora.tmpl
2074
0644
edit
dl
rm
ntp.conf.freebsd.tmpl
4159
0644
edit
dl
rm
ntp.conf.opensuse.tmpl
2755
0644
edit
dl
rm
ntp.conf.photon.tmpl
1850
0644
edit
dl
rm
ntp.conf.rhel.tmpl
1852
0644
edit
dl
rm
ntp.conf.sles.tmpl
2755
0644
edit
dl
rm
ntp.conf.ubuntu.tmpl
2509
0644
edit
dl
rm
ntpd.conf.openbsd.tmpl
491
0644
edit
dl
rm
resolv.conf.tmpl
921
0644
edit
dl
rm
sources.list.debian.tmpl
1439
0644
edit
dl
rm
sources.list.ubuntu.tmpl
2858
0644
edit
dl
rm
systemd.resolved.conf.tmpl
504
0644
edit
dl
rm
timesyncd.conf.tmpl
203
0644
edit
dl
rm
Edit:
/etc/cloud/templates/ntp.conf.ubuntu.tmpl
(2509B)
## template:jinja # /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help driftfile /var/lib/ntp/ntp.drift # Enable this if you want statistics to be logged. #statsdir /var/log/ntpstats/ statistics loopstats peerstats clockstats filegen loopstats file loopstats type day enable filegen peerstats file peerstats type day enable filegen clockstats file clockstats type day enable # Specify one or more NTP servers. # Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board # on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for # more information. {% if pools %}# pools {% endif %} {% for pool in pools -%} pool {{pool}} iburst {% endfor %} {%- if servers %}# servers {% endif %} {% for server in servers -%} server {{server}} iburst {% endfor %} # Use Ubuntu's ntp server as a fallback. # pool ntp.ubuntu.com # Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for # details. The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions> # might also be helpful. # # Note that "restrict" applies to both servers and clients, so a configuration # that might be intended to block requests from certain clients could also end # up blocking replies from your own upstream servers. # By default, exchange time with everybody, but don't allow configuration. restrict -4 default kod notrap nomodify nopeer noquery limited restrict -6 default kod notrap nomodify nopeer noquery limited # Local users may interrogate the ntp server more closely. restrict 127.0.0.1 restrict ::1 # Needed for adding pool entries restrict source notrap nomodify noquery # Clients from this (example!) subnet have unlimited access, but only if # cryptographically authenticated. #restrict 192.168.123.0 mask 255.255.255.0 notrust # If you want to provide time to your local subnet, change the next line. # (Again, the address is an example only.) #broadcast 192.168.123.255 # If you want to listen to time broadcasts on your local subnet, de-comment the # next lines. Please do this only if you trust everybody on the network! #disable auth #broadcastclient #Changes recquired to use pps synchonisation as explained in documentation: #http://www.ntp.org/ntpfaq/NTP-s-config-adv.htm#AEN3918 #server 127.127.8.1 mode 135 prefer # Meinberg GPS167 with PPS #fudge 127.127.8.1 time1 0.0042 # relative to PPS for my hardware #server 127.127.22.1 # ATOM(PPS) #fudge 127.127.22.1 flag3 1 # enable PPS API
Save
cmd:
run