diff options
author | Lusheng Ji <lji@research.att.com> | 2017-05-18 18:34:11 -0400 |
---|---|---|
committer | Lusheng Ji <lji@research.att.com> | 2017-05-18 18:34:11 -0400 |
commit | d74bf5e1a6e2c14cd9a4983672516bad0a253072 (patch) | |
tree | 1c0443a58a7ba36f00a4bbd4e94f62310fa12704 | |
parent | e860588e11665600cad078f1a9b407599430e156 (diff) |
MTU when not set
Change-Id: I8e143142ca828e04ce567e6e607b5e19f43f6066
Signed-off-by: Lusheng Ji <lji@research.att.com>
-rwxr-xr-x | deploy.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,5 +33,9 @@ if ls __* 1> /dev/null 2>&1; then done fi +if [ -z "$MTU" ]; then + export MTU=$(ifconfig docker0 |grep MTU |sed -e 's/.*MTU://' -e 's/\s.*$//') +fi + echo "starting docker operations" ${DOCKER_COMPOSE_EXE} up -d |