aboutsummaryrefslogtreecommitdiffstats
path: root/heat/ONAP/cloud-config/mr_vm_init.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2019-04-25 17:08:41 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-25 17:08:41 +0000
commit943ade5dc3214b3c40d85c227d8837d5d33e5561 (patch)
treeb1007fbf80ed202bea9c53a93d8c70e58c1b6550 /heat/ONAP/cloud-config/mr_vm_init.sh
parent36fca494483ecfa7c2d74b24c3b602cf12823aa4 (diff)
parente3dd7c24232b7060500fee8805416551fe98c92e (diff)
Merge "Clean old ONAP heat template from demo repository"
Diffstat (limited to 'heat/ONAP/cloud-config/mr_vm_init.sh')
-rw-r--r--heat/ONAP/cloud-config/mr_vm_init.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/heat/ONAP/cloud-config/mr_vm_init.sh b/heat/ONAP/cloud-config/mr_vm_init.sh
deleted file mode 100644
index 78d61f8a..00000000
--- a/heat/ONAP/cloud-config/mr_vm_init.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
-
-NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
-NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
-NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
-
-docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
-
-cd /opt/startup-vm-message-router/demo
-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 &>/dev/null &disown
-
-cd /opt
-bash dbcl_vm_init.sh &>/dev/null &disown