aboutsummaryrefslogtreecommitdiffstats
path: root/boot/policy_vm_init.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-05-09 12:20:28 -0400
committerMarco Platania <platania@research.att.com>2017-05-09 12:20:28 -0400
commit8a83578b5f007b4be348a969a74ad6c185c5b9e0 (patch)
tree4ff9f4296511963b7dd38a791922329c1f0537db /boot/policy_vm_init.sh
parent6271e83bfe0a8225f63aa520fa03968a7453ddd0 (diff)
[UCA-10] Fix issue with MTU size in dockers
Change-Id: I19db615d3f5364d6b0894aabf5de60d192183595 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/policy_vm_init.sh')
-rw-r--r--boot/policy_vm_init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/policy_vm_init.sh b/boot/policy_vm_init.sh
index 2514467c..067ab1db 100644
--- a/boot/policy_vm_init.sh
+++ b/boot/policy_vm_init.sh
@@ -4,7 +4,7 @@ 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)
DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
-
+export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
export DOCKER_REPOSITORY=${NEXUS_DOCKER_REPO}
cd /opt/policy