summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-29 15:08:13 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-29 15:08:13 +0200
commit40c692c1842989095068c620b075489adafd7822 (patch)
treea1993fa44cbbaa19cd1934868ea69e65b8fc0bcd
parent18d0dcd4953cdab320cdc6c80745d5c6b304a17b (diff)
downloadjenkins.debian.net-40c692c1842989095068c620b075489adafd7822.tar.xz
add temp. check to notify about nodes not using systemd
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xupdate_jdn.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 90abca9f..968899df 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -43,6 +43,14 @@ disable_dsa_check_packages() {
echo "--------------------------------------------"
explain "$(date) - begin deployment update."
+#
+# temporarily test to check which hosts don't use systemd
+#
+if [ -z "$(dpkg -l|grep systemd-sysv||true)" ] ; then
+ echo "no systemd-sysv installed on $(hostname)"
+ read
+fi
+
# some nodes need special treatment…
case $HOSTNAME in
profitbricks-build4-amd64|profitbricks-build5-amd64|profitbricks-build6-i386|profitbricks-build15-amd64|profitbricks-build16-i386)