X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=boot%2Fmr_vm_init.sh;h=af17781a1f09ea1ebca2049c4ee65cd3e7de5c2b;hb=14fc52539dc13d44d3c0c7c2e77d20b7c3bab262;hp=4e0ae6fb6fadc1763f9eb9a83ac86acefbc827c7;hpb=4f98547c03dc9c8a295ae46e066ff09dd961d5a3;p=demo.git diff --git a/boot/mr_vm_init.sh b/boot/mr_vm_init.sh index 4e0ae6fb..af17781a 100644 --- a/boot/mr_vm_init.sh +++ b/boot/mr_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-message-router -git pull -bash deploy.sh +sed -i 's|wget .*|wget -q \"http://archive.apache.org/dist/kafka/${KAFKA_VERSION}/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz\" \\|g' deploy.sh +bash deploy.sh \ No newline at end of file