From 00bd644c0fbaf489fe32863d9fea3f3977975624 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Sun, 26 Mar 2017 13:23:49 +0200 Subject: Set mtu for container IFACE as workaround of cloud environment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I60376d818afef7395c51f29100bfb5d38ec4da44 Signed-off-by: Jan-Simon Möller --- INSTALL/wait_for_net.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'INSTALL') diff --git a/INSTALL/wait_for_net.sh b/INSTALL/wait_for_net.sh index 354e76a..b16e091 100755 --- a/INSTALL/wait_for_net.sh +++ b/INSTALL/wait_for_net.sh @@ -7,6 +7,7 @@ IFACE="veth0 eth0" function wait_net() { for i in $IFACE; do [[ "$(cat /sys/class/net/$i/operstate 2>/dev/null)" == "up" ]] && return 1 + ip link set mtu 1300 dev $IFACE done return 0 } -- cgit