summaryrefslogtreecommitdiffstats
path: root/boot/vnfsdk_vm_init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boot/vnfsdk_vm_init.sh')
-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