summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-15 14:20:55 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-15 14:20:55 +0100
commit0ab3bbb71c8d9c4a13913c44df64e4cada4e3280 (patch)
tree63b5212034dc0720076bfbefe1226bd083e0be29 /hosts
parentb17690bdf552c0840e1f0b8e3fa28c641fb1af4f (diff)
downloadjenkins.debian.net-0ab3bbb71c8d9c4a13913c44df64e4cada4e3280.tar.xz
reproducible: run future nodes also 6h and 23min ahead
Diffstat (limited to 'hosts')
-rwxr-xr-xhosts/bpi0-armhf-rb/etc/rc.local11
-rwxr-xr-xhosts/hb0-armhf-rb/etc/rc.local11
-rwxr-xr-xhosts/profitbricks-build3-amd64/etc/rc.local11
-rwxr-xr-xhosts/profitbricks-build5-amd64/etc/rc.local2
-rwxr-xr-xhosts/profitbricks-build6-amd64/etc/rc.local2
-rwxr-xr-xhosts/wbq0-armhf-rb/etc/rc.local11
6 files changed, 2 insertions, 46 deletions
diff --git a/hosts/bpi0-armhf-rb/etc/rc.local b/hosts/bpi0-armhf-rb/etc/rc.local
index e8721439..9493d09d 100755
--- a/hosts/bpi0-armhf-rb/etc/rc.local
+++ b/hosts/bpi0-armhf-rb/etc/rc.local
@@ -13,15 +13,4 @@
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
-date --set="+398 days"
-echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
-
exit 0
diff --git a/hosts/hb0-armhf-rb/etc/rc.local b/hosts/hb0-armhf-rb/etc/rc.local
index e8721439..9493d09d 100755
--- a/hosts/hb0-armhf-rb/etc/rc.local
+++ b/hosts/hb0-armhf-rb/etc/rc.local
@@ -13,15 +13,4 @@
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
-date --set="+398 days"
-echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
-
exit 0
diff --git a/hosts/profitbricks-build3-amd64/etc/rc.local b/hosts/profitbricks-build3-amd64/etc/rc.local
index e8721439..9493d09d 100755
--- a/hosts/profitbricks-build3-amd64/etc/rc.local
+++ b/hosts/profitbricks-build3-amd64/etc/rc.local
@@ -13,15 +13,4 @@
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
-date --set="+398 days"
-echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
-
exit 0
diff --git a/hosts/profitbricks-build5-amd64/etc/rc.local b/hosts/profitbricks-build5-amd64/etc/rc.local
index d3b00d7c..ae0a771a 100755
--- a/hosts/profitbricks-build5-amd64/etc/rc.local
+++ b/hosts/profitbricks-build5-amd64/etc/rc.local
@@ -18,7 +18,7 @@ systemctl disable systemd-timedated
systemctl stop systemd-timesyncd
systemctl stop systemd-timedated
ntpdate -b de.pool.ntp.org
-date --set="+398 days"
+date --set="+398 days +6 hours + 23 minutes"
echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
exit 0
diff --git a/hosts/profitbricks-build6-amd64/etc/rc.local b/hosts/profitbricks-build6-amd64/etc/rc.local
index d3b00d7c..ae0a771a 100755
--- a/hosts/profitbricks-build6-amd64/etc/rc.local
+++ b/hosts/profitbricks-build6-amd64/etc/rc.local
@@ -18,7 +18,7 @@ systemctl disable systemd-timedated
systemctl stop systemd-timesyncd
systemctl stop systemd-timedated
ntpdate -b de.pool.ntp.org
-date --set="+398 days"
+date --set="+398 days +6 hours + 23 minutes"
echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
exit 0
diff --git a/hosts/wbq0-armhf-rb/etc/rc.local b/hosts/wbq0-armhf-rb/etc/rc.local
index e8721439..9493d09d 100755
--- a/hosts/wbq0-armhf-rb/etc/rc.local
+++ b/hosts/wbq0-armhf-rb/etc/rc.local
@@ -13,15 +13,4 @@
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
-date --set="+398 days"
-echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
-
exit 0