summaryrefslogtreecommitdiff
path: root/install-VM-grongo
diff options
context:
space:
mode:
Diffstat (limited to 'install-VM-grongo')
-rwxr-xr-xinstall-VM-grongo6
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