Merge "Fix path to Kafka archive"
authorGary Wu <gary.i.wu@huawei.com>
Mon, 20 Nov 2017 21:58:03 +0000 (21:58 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 20 Nov 2017 21:58:03 +0000 (21:58 +0000)
boot/mr_vm_init.sh

index 8b80d46..af17781 100644 (file)
@@ -3,5 +3,5 @@
 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