From 8a83d5e80fcf98eca7d157ff2b0822edbff032e9 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 2 Sep 2023 23:59:03 +0200 Subject: [PATCH] Add config for chrony to make the server stratum 2 Signed-off-by: Knut Ahlers --- config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.yaml b/config.yaml index 2e04162..2ccdd9b 100644 --- a/config.yaml +++ b/config.yaml @@ -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' + ...