/
etc
/
cloud
/
templates
/
/etc/cloud/templates
mkdir
upload
Name
Size
Mode
Actions
chef_client.rb.tmpl
1667
0644
edit
dl
rm
chrony.conf.almalinux.tmpl
1280
0644
edit
dl
rm
chrony.conf.alpine.tmpl
1212
0644
edit
dl
rm
chrony.conf.centos.tmpl
1280
0644
edit
dl
rm
chrony.conf.cloudlinux.tmpl
1280
0644
edit
dl
rm
chrony.conf.cos.tmpl
874
0644
edit
dl
rm
chrony.conf.debian.tmpl
1210
0644
edit
dl
rm
chrony.conf.fedora.tmpl
1368
0644
edit
dl
rm
chrony.conf.freebsd.tmpl
14315
0644
edit
dl
rm
chrony.conf.opensuse-leap.tmpl
1090
0644
edit
dl
rm
chrony.conf.opensuse-microos.tmpl
1090
0644
edit
dl
rm
chrony.conf.opensuse-tumbleweed.tmpl
1090
0644
edit
dl
rm
chrony.conf.opensuse.tmpl
1090
0644
edit
dl
rm
chrony.conf.photon.tmpl
1368
0644
edit
dl
rm
chrony.conf.rhel.tmpl
1280
0644
edit
dl
rm
chrony.conf.sle-micro.tmpl
1090
0644
edit
dl
rm
chrony.conf.sles.tmpl
1090
0644
edit
dl
rm
chrony.conf.sle_hpc.tmpl
1090
0644
edit
dl
rm
chrony.conf.ubuntu.tmpl
1379
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.mariner.tmpl
898
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.almalinux.tmpl
1902
0644
edit
dl
rm
ntp.conf.alpine.tmpl
255
0644
edit
dl
rm
ntp.conf.cloudlinux.tmpl
1902
0644
edit
dl
rm
ntp.conf.debian.tmpl
2202
0644
edit
dl
rm
ntp.conf.fedora.tmpl
2126
0644
edit
dl
rm
ntp.conf.freebsd.tmpl
4229
0644
edit
dl
rm
ntp.conf.opensuse.tmpl
2807
0644
edit
dl
rm
ntp.conf.photon.tmpl
1902
0644
edit
dl
rm
ntp.conf.rhel.tmpl
1904
0644
edit
dl
rm
ntp.conf.sles.tmpl
2807
0644
edit
dl
rm
ntp.conf.ubuntu.tmpl
2561
0644
edit
dl
rm
ntpd.conf.openbsd.tmpl
543
0644
edit
dl
rm
resolv.conf.tmpl
921
0644
edit
dl
rm
sources.list.debian.deb822.tmpl
1456
0644
edit
dl
rm
sources.list.debian.tmpl
1439
0644
edit
dl
rm
sources.list.ubuntu.deb822.tmpl
3100
0644
edit
dl
rm
sources.list.ubuntu.tmpl
2504
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
(2561B)
## 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 %} {% for peer in peers -%} peer {{peer}} {% 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