/
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
873
0644
edit
dl
rm
chrony.conf.debian.tmpl
1209
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.rocky.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
1378
0644
edit
dl
rm
host.mariner.tmpl
898
0644
edit
dl
rm
hosts.alpine.tmpl
893
0644
edit
dl
rm
hosts.aosc.tmpl
931
0644
edit
dl
rm
hosts.arch.tmpl
841
0644
edit
dl
rm
hosts.azurelinux.tmpl
882
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
876
0644
edit
dl
rm
hosts.openeuler.tmpl
918
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.rocky.tmpl
1902
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
1557
0644
edit
dl
rm
sources.list.debian.tmpl
1439
0644
edit
dl
rm
sources.list.ubuntu.deb822.tmpl
3091
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.debian.tmpl
(2202B)
## 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 # You do need to talk to an NTP server or two (or three). #server ntp.your-provider.example # pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will # pick a different set every time it starts up. Please consider joining the # pool: <http://www.pool.ntp.org/join.html> {% 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 %} # 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
Save
cmd:
run