aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMurali <murali.p@huawei.com>2017-10-10 04:43:37 +0000
committerMurali <murali.p@huawei.com>2017-10-10 04:43:37 +0000
commit2ae9956a2bbaf721d5ab2f44e7cac2e4ffb37952 (patch)
tree38e4811b5050e255a89a2d46da6e2766d1250c93
parentcee4eee99e2e6b0b05a5c402f0a6ba52f70bc160 (diff)
Set MTU config in the env
Change-Id: I3f7561c0ba8352b59ae527273ee93a4c1929b24a Jira:VNFSDK-75 Signed-off-by: Murali <murali.p@huawei.com>
-rw-r--r--vnfmarket-be/deployment/install/.env2
1 files changed, 2 insertions, 0 deletions
diff --git a/vnfmarket-be/deployment/install/.env b/vnfmarket-be/deployment/install/.env
index 83c135f3..527088e9 100644
--- a/vnfmarket-be/deployment/install/.env
+++ b/vnfmarket-be/deployment/install/.env
@@ -8,3 +8,5 @@ POSTGRES_TAG=latest
NEXUS_REPO=nexus3.onap.org:10001
+export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+