summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build4-amd64
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/profitbricks-build4-amd64')
-rwxr-xr-xhosts/profitbricks-build4-amd64/etc/rc.local2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/profitbricks-build4-amd64/etc/rc.local b/hosts/profitbricks-build4-amd64/etc/rc.local
index 45688521..95f5f352 100755
--- a/hosts/profitbricks-build4-amd64/etc/rc.local
+++ b/hosts/profitbricks-build4-amd64/etc/rc.local
@@ -14,8 +14,10 @@ send_back_to_the_future() {
# disable systemd date services (and don't fail if systemd ain't running)
systemctl disable systemd-timesyncd || true
systemctl disable systemd-timedated || true
+ systemctl disable ntp.service || true
systemctl stop systemd-timesyncd || true
systemctl stop systemd-timedated || true
+ systemctl stop ntp.service || true
# set correct date
ntpdate -b de.pool.ntp.org
# set fake date