aboutsummaryrefslogtreecommitdiffstats
path: root/boot/mr_vm_init.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-11-20 21:58:03 +0000
committerGerrit Code Review <gerrit@onap.org>2017-11-20 21:58:03 +0000
commitd545f67c16bbfa6877aad48664218c30cc83c193 (patch)
treec57e52968fe15aa211d26a1c896d68e93f505cad /boot/mr_vm_init.sh
parent3234c8ffab9faf85fd3bccfa720a3869ba39d13c (diff)
parent14fc52539dc13d44d3c0c7c2e77d20b7c3bab262 (diff)
Merge "Fix path to Kafka archive"
Diffstat (limited to 'boot/mr_vm_init.sh')
-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