summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-09-13 23:15:26 +0200
committerHolger Levsen <holger@layer-acht.org>2016-09-13 23:15:26 +0200
commita239d09e1ed2624d3a02dd42f3291ace2a3ed867 (patch)
tree7d41ac2e3c09fbb9909759338a5c226fde527e36 /bin
parentf470eef98d28417f12b83b09f9e17a425a641223 (diff)
downloadjenkins.debian.net-a239d09e1ed2624d3a02dd42f3291ace2a3ed867.tar.xz
reproducible maintainance: ignore NOARP entries for mtu test
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_maintenance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index e983b91c..08ccad47 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -45,7 +45,7 @@ fi
echo "$(date -u) - testing whether the proxy works..."
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
+if [ "$(ip link | sed -n '/LOOPBACK\|NOARP/!s/.* mtu \([0-9]*\) .*/\1/p' | sort -u)" != "1500" ] ; then
ip link
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)"