summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-08-18 10:24:12 +0200
committerHolger Levsen <holger@layer-acht.org>2016-08-18 10:24:12 +0200
commit37d0859241b844e43dda6467e6b128fdd3ec0373 (patch)
treea042d053eb5d7b20ef318c4a37223ee5eee7e136
parent44596ec2fb123403928d6482abbc8e0e95927961 (diff)
downloadjenkins.debian.net-37d0859241b844e43dda6467e6b128fdd3ec0373.tar.xz
reproducible Debian: inform the irc channel if a node has a wrong MTU
-rwxr-xr-xbin/reproducible_maintenance.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 9efc1f69..cc07492e 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -48,6 +48,7 @@ echo "$(date -u) - testing whether the network interfaces MTU is 1500..."
if [ "$(ip link | sed -n '/LOOPBACK/!s/.* mtu \([0-9]*\) .*/\1/p' | sort -u)" != "1500" ] ; then
ip link
echo "$(date -u) - network interfaces MTU != 1500 - this is wrong."
+ irc_message debian-reproducible "$HOSTNAME has wrong MTU, please tell the jenkins admins to fix this."
exit 1
fi
set +e