From 7fbfeb04ef965b2df06a0ee5861dc8e576b26a53 Mon Sep 17 00:00:00 2001 From: Murali Date: Thu, 21 Sep 2017 06:12:16 +0000 Subject: Add MTU config to vnfsdk init script MTU configuration has been added to init script and docker compose file Change-Id: Ic5a364b6315b4a3f3f55b482347139f5c74f991d Jira:VNFSDK-92 Signed-off-by: Murali --- boot/vnfsdk_vm_init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/vnfsdk_vm_init.sh b/boot/vnfsdk_vm_init.sh index 16886990..a5056688 100755 --- a/boot/vnfsdk_vm_init.sh +++ b/boot/vnfsdk_vm_init.sh @@ -9,6 +9,7 @@ set -x NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt) NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt) NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt) +export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1) #DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt) --> don't needed at the moment # Refresh configuration and scripts -- cgit 1.2.3-korg