From 49276c10956c76ef7e74c39fa849530b3418a1ef Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 24 Jun 2016 09:31:22 +0200 Subject: set up timesyncd --- install-VM-grongo | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install-VM-grongo b/install-VM-grongo index 091f010..678e33f 100755 --- a/install-VM-grongo +++ b/install-VM-grongo @@ -304,6 +304,12 @@ done EOF chmod +x etc/cron.daily/local-trim-ext4 +## set up ntp +cat >> etc/systemd/timesyncd.conf << EOF +Servers=172.22.130.1 +EOF +ln -s /lib/systemd/system/systemd-timesyncd.service etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service + ### first boot cat > first-boot.sh << EOF #!/bin/bash -- cgit v1.2.3