diff options
author | Peter Palfrader <peter@palfrader.org> | 2016-06-24 09:31:22 +0200 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2016-06-24 09:31:22 +0200 |
commit | 49276c10956c76ef7e74c39fa849530b3418a1ef (patch) | |
tree | 71899458bdff7201557f42039f09f1e1ae2b562c | |
parent | 70d53d9a7584740de01cd749c87574ca60059892 (diff) |
set up timesyncd
-rwxr-xr-x | install-VM-grongo | 6 |
1 files changed, 6 insertions, 0 deletions
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 |