From bdcbb7a9387bc4d986a67316a459c21fdbf26e63 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 7 Sep 2016 17:45:25 +0000 Subject: reproducible debian: maintenance: give an hint of what command to run to fix the wrong MTU --- bin/reproducible_maintenance.sh | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2