Fix path to Kafka archive 91/24591/1
authorMarco Platania <platania@research.att.com>
Mon, 20 Nov 2017 21:47:13 +0000 (16:47 -0500)
committerMarco Platania <platania@research.att.com>
Mon, 20 Nov 2017 21:47:13 +0000 (16:47 -0500)
- Update MR init script to replace the URL of Kafka archives

Change-Id: Id7bfa1af24e1ac833a9de83d420353ee316a6a4e
Issue-ID: INT-343
Signed-off-by: Marco Platania <platania@research.att.com>
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