From 36d19f3d852fbb292acbc3ac76449f4cfb508b58 Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Wed, 5 Nov 2014 23:42:35 +0100 Subject: [PATCH] [archlinux] Configure NTP to use internal server --- images/archlinux/patches/etc/ntp.conf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 images/archlinux/patches/etc/ntp.conf diff --git a/images/archlinux/patches/etc/ntp.conf b/images/archlinux/patches/etc/ntp.conf new file mode 100644 index 0000000..de37678 --- /dev/null +++ b/images/archlinux/patches/etc/ntp.conf @@ -0,0 +1,22 @@ +# For additional information see: +# - the ntp.conf man page +# - http://support.ntp.org/bin/view/Support/GettingStarted +# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon + +server ntp.int.cloud.online.net + +# Associate to public NTP pool servers; see http://www.pool.ntp.org/ +server 0.arch.pool.ntp.org +server 1.arch.pool.ntp.org +server 2.arch.pool.ntp.org +server 3.arch.pool.ntp.org + +# By default, the server allows: +# - all queries from the local host +# - only time queries from remote hosts, protected by rate limiting and kod +restrict default kod limited nomodify nopeer noquery notrap +restrict 127.0.0.1 +restrict ::1 + +# Location of drift file +driftfile /var/lib/ntp/ntp.drift