Unverified Commit a239d09e authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible maintainance: ignore NOARP entries for mtu test

parent f470eef9
...@@ -45,7 +45,7 @@ fi ...@@ -45,7 +45,7 @@ fi
echo "$(date -u) - testing whether the proxy works..." echo "$(date -u) - testing whether the proxy works..."
curl http://www.debian.org > /dev/null curl http://www.debian.org > /dev/null
echo "$(date -u) - testing whether the network interfaces MTU is 1500..." 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 ip link
echo "$(date -u) - network interfaces MTU != 1500 - this is wrong. => please \`sudo ifconfig eth0 mtu 1500\`" 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)" irc_message debian-reproducible "$HOSTNAME has wrong MTU, please tell the jenkins admins to fix this. (sudo ifconfig eth0 mtu 1500)"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment