summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build3-amd64
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-02 11:45:55 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-02 11:45:55 +0200
commit3a08343341138c6e00b4748ccf9b3fdfc74d4bdd (patch)
treea7e87dbb67d68dbf95eaebcea671c9c5d0c1ef49 /hosts/profitbricks-build3-amd64
parent2cfab5ad8fdd5856738deed4f6569e2904e2cfee (diff)
downloadjenkins.debian.net-3a08343341138c6e00b4748ccf9b3fdfc74d4bdd.tar.xz
reproducible: let's not run the 2nd build in the future until things run more stable again
Diffstat (limited to 'hosts/profitbricks-build3-amd64')
-rwxr-xr-xhosts/profitbricks-build3-amd64/etc/rc.local6
1 files changed, 5 insertions, 1 deletions
diff --git a/hosts/profitbricks-build3-amd64/etc/rc.local b/hosts/profitbricks-build3-amd64/etc/rc.local
index 7940adf5..b069e6ba 100755
--- a/hosts/profitbricks-build3-amd64/etc/rc.local
+++ b/hosts/profitbricks-build3-amd64/etc/rc.local
@@ -11,12 +11,16 @@
#
# By default this script does nothing.
+echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
+
+# disable running in the future for now
+exit 0
+
systemctl disable systemd-timesyncd
systemctl disable systemd-timedated
systemctl stop systemd-timesyncd
systemctl stop systemd-timedated
ntpdate -b de.pool.ntp.org
-echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
date --set="+400 days"
echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root