mirror of
https://github.com/Luzifer/hetzner-alpine-k8s.git
synced 2024-11-09 14:50:01 +00:00
Add config for chrony to make the server stratum 2
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
0955213323
commit
8a83d5e80f
1 changed files with 3 additions and 0 deletions
|
@ -142,4 +142,7 @@ chroot_commands:
|
||||||
# Force --cloud-provider=external
|
# Force --cloud-provider=external
|
||||||
- "sed -i 's/command_args=\"/command_args=\"--cloud-provider=external /' /etc/init.d/kubelet"
|
- "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'
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue