Add config for chrony to make the server stratum 2

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-09-02 23:59:03 +02:00
parent 0955213323
commit 8a83d5e80f
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -142,4 +142,7 @@ chroot_commands:
# Force --cloud-provider=external
- "sed -i 's/command_args=\"/command_args=\"--cloud-provider=external /' /etc/init.d/kubelet"
# Configure chrony
- 'echo "server ptbtime1.ptb.de iburst\nserver ptbtime2.ptb.de iburst\ninitstepslew 10 ptbtime1.ptb.de\ndriftfile /var/lib/chrony/chrony.drift\nrtcsync\ncmdport 0" >/etc/chrony/chrony.conf'
...