aboutsummaryrefslogtreecommitdiffstats
path: root/boot/dcae_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/dcae_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/dcae_vm_init.sh')
-rw-r--r--boot/dcae_vm_init.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/dcae_vm_init.sh b/boot/dcae_vm_init.sh
index 538e7313..460c3ef0 100644
--- a/boot/dcae_vm_init.sh
+++ b/boot/dcae_vm_init.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+
cd /opt/dcae-startup-vm-controller
git pull
bash init.sh