From 424ace85c389e32158e23a7f8a5ad31bbe81afce Mon Sep 17 00:00:00 2001 From: Bastien Faivre Date: Fri, 24 Jan 2025 12:04:25 +0100 Subject: [PATCH] fix: ntp --- benchmark/config/ntp.conf | 15 +-------------- benchmark/playbooks/init.yml | 2 +- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/benchmark/config/ntp.conf b/benchmark/config/ntp.conf index 5a86dd7..5b1b83a 100644 --- a/benchmark/config/ntp.conf +++ b/benchmark/config/ntp.conf @@ -7,19 +7,6 @@ restrict -6 default ignore restrict 127.0.0.1 restrict -6 ::1 -server 0.pool.ntp.org iburst +server ntp1.hetzner.de iburst restrict 213.239.239.164 nomodify notrap nopeer noquery restrict -6 2a01:4f8:0:a0a1::2:1 nomodify notrap nopeer noquery - -server 1.pool.ntp.org iburst -restrict 213.239.239.164 nomodify notrap nopeer noquery -restrict -6 2a01:4f8:0:a0a1::2:1 nomodify notrap nopeer noquery - -server 2.pool.ntp.org iburst -restrict 213.239.239.164 nomodify notrap nopeer noquery -restrict -6 2a01:4f8:0:a0a1::2:1 nomodify notrap nopeer noquery - -server 3.pool.ntp.org iburst -restrict 213.239.239.164 nomodify notrap nopeer noquery -restrict -6 2a01:4f8:0:a0a1::2:1 nomodify notrap nopeer noquery - diff --git a/benchmark/playbooks/init.yml b/benchmark/playbooks/init.yml index be2c8df..865c291 100644 --- a/benchmark/playbooks/init.yml +++ b/benchmark/playbooks/init.yml @@ -78,7 +78,7 @@ state: stopped - name: Synchronize manually - command: sntp 0.pool.ntp.org + command: ntpd -gq ntp1.hetzner.de - name: Enable and restart NTP service service: