Skip to content

Commit 31c4204

Browse files
authored
Merge pull request #13819 from alanmcanonical/time_srv
Add cis designated nist time servers
2 parents 63855bf + d3a8012 commit 31c4204

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
# packages = chrony
3+
# variables = var_multiple_time_servers=time.nist.gov,time-a-g.nist.gov,time-b-g.nist.gov,time-c-g.nist.gov,var_multiple_time_pools=time.nist.gov
4+
5+
echo "" > {{{ chrony_conf_path }}}
6+
echo "server time.nist.gov" >> {{{ chrony_conf_path }}}
7+
echo "server time-a-g.nist.gov" >> {{{ chrony_conf_path }}}
8+
echo "pool time.nist.gov" >> {{{ chrony_conf_path }}}

linux_os/guide/services/ntp/var_multiple_time_pools.var

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ options:
1818
amazon: "0.rhel.pool.ntp.org,1.rhel.pool.ntp.org,2.rhel.pool.ntp.org,3.rhel.pool.ntp.org"
1919
ubuntu: "0.ubuntu.pool.ntp.org,1.ubuntu.pool.ntp.org,2.ubuntu.pool.ntp.org,3.ubuntu.pool.ntp.org"
2020
debian: "0.debian.pool.ntp.org,1.debian.pool.ntp.org,2.debian.pool.ntp.org,3.debian.pool.ntp.org"
21+
nist: "time.nist.gov"

linux_os/guide/services/ntp/var_multiple_time_servers.var

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ options:
2121
ubuntu: "0.ubuntu.pool.ntp.org,1.ubuntu.pool.ntp.org,2.ubuntu.pool.ntp.org,3.ubuntu.pool.ntp.org"
2222
almalinux: "0.almalinux.pool.ntp.org,1.almalinux.pool.ntp.org,2.almalinux.pool.ntp.org,3.almalinux.pool.ntp.org"
2323
debian: "0.debian.pool.ntp.org,1.debian.pool.ntp.org,2.debian.pool.ntp.org,3.debian.pool.ntp.org"
24-
24+
nist: "time.nist.gov,time-a-g.nist.gov,time-b-g.nist.gov,time-c-g.nist.gov"

0 commit comments

Comments
 (0)