diff options
author | 2017-03-26 13:23:49 +0200 | |
---|---|---|
committer | 2017-03-26 13:24:02 +0200 | |
commit | 00bd644c0fbaf489fe32863d9fea3f3977975624 (patch) | |
tree | fbc41756b994d3d18a6d75603c87819349b031a4 | |
parent | b30093edfd4f92b32ba356ef5e62d9bd80a99584 (diff) |
Set mtu for container IFACE as workaround of cloud environment
Change-Id: I60376d818afef7395c51f29100bfb5d38ec4da44
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
-rwxr-xr-x | INSTALL/wait_for_net.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |