summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2016-09-07 17:45:25 +0000
committerHolger Levsen <holger@layer-acht.org>2016-09-07 19:47:44 +0200
commitbdcbb7a9387bc4d986a67316a459c21fdbf26e63 (patch)
tree3aca1944b279cf42089e625674f41ca8d00a9e3e
parente373805eccf2333421515b9fec4894fd33be7af2 (diff)
downloadjenkins.debian.net-bdcbb7a9387bc4d986a67316a459c21fdbf26e63.tar.xz
reproducible debian: maintenance: give an hint of what command to run to fix the wrong MTU
-rwxr-xr-xbin/reproducible_maintenance.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index cc07492e..e983b91c 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -47,8 +47,8 @@ curl http://www.debian.org > /dev/null
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."
+ echo "$(date -u) - network interfaces MTU != 1500 - this is wrong. => please \`sudo ifconfig eth0 mtu 1500\`"
+ irc_message debian-reproducible "$HOSTNAME has wrong MTU, please tell the jenkins admins to fix this. (sudo ifconfig eth0 mtu 1500)"
exit 1
fi
set +e