diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-06-21 13:14:50 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-06-21 13:14:50 +0200 |
commit | 0f838b3c7ee47a0db1fbf512e41d9efeb82109f2 (patch) | |
tree | b6b0538e854d9384b493a5320b46046304f1b8d1 /hosts/profitbricks-build1-amd64/etc | |
parent | 90da3b5e5e198f70cb8a85d65b85daff30bd83e0 (diff) | |
download | jenkins.debian.net-0f838b3c7ee47a0db1fbf512e41d9efeb82109f2.tar.xz |
reproducible Debian: (needed on stretch) also disable ntp.service on future hosts
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/profitbricks-build1-amd64/etc')
-rwxr-xr-x | hosts/profitbricks-build1-amd64/etc/rc.local | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/profitbricks-build1-amd64/etc/rc.local b/hosts/profitbricks-build1-amd64/etc/rc.local index 45688521..95f5f352 100755 --- a/hosts/profitbricks-build1-amd64/etc/rc.local +++ b/hosts/profitbricks-build1-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 |