Fix path to Kafka archive
[demo.git] / 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