summaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorMurali <murali.p@huawei.com>2017-09-21 06:12:16 +0000
committerMurali <murali.p@huawei.com>2017-09-21 06:12:16 +0000
commit7fbfeb04ef965b2df06a0ee5861dc8e576b26a53 (patch)
tree5388d416dc05b58f2b128724104e1c705393a910 /boot
parentbc20b841d963c06d7c0c2f36b28a109e9a1e5ca5 (diff)
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 <murali.p@huawei.com>
Diffstat (limited to 'boot')
-rwxr-xr-xboot/vnfsdk_vm_init.sh1
1 files changed, 1 insertions, 0 deletions
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