aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdeploy.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
index b1f9ebd..33a95e0 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -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