aboutsummaryrefslogtreecommitdiffstats
path: root/boot/mso_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/mso_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/mso_vm_init.sh')
-rw-r--r--boot/mso_vm_init.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/mso_vm_init.sh b/boot/mso_vm_init.sh
index 230c53ee..3387a7ae 100644
--- a/boot/mso_vm_init.sh
+++ b/boot/mso_vm_init.sh
@@ -7,6 +7,7 @@ DMAAP_TOPIC=$(cat /opt/config/dmaap_topic.txt)
OPENSTACK_USERNAME=$(cat /opt/config/openstack_username.txt)
OPENSTACK_APIKEY=$(cat /opt/config/api_key.txt)
export MSO_DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
+export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
# Deployments in OpenStack require a keystone file
if [ -e /opt/config/keystone.txt ]