summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-11-20 16:47:13 -0500
committerMarco Platania <platania@research.att.com>2017-11-20 16:47:13 -0500
commit14fc52539dc13d44d3c0c7c2e77d20b7c3bab262 (patch)
treefa51d1482306cea480a5340be8bcb0ed1ca60f40
parentcb134dbc9d224cca3ee54dd6dbd9a7ecd3bfdd4d (diff)
Fix path to Kafka archive
- 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>
-rw-r--r--boot/mr_vm_init.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/mr_vm_init.sh b/boot/mr_vm_init.sh
index 8b80d469..af17781a 100644
--- a/boot/mr_vm_init.sh
+++ b/boot/mr_vm_init.sh
@@ -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