diff options
Diffstat (limited to 'boot/mr_install.sh')
-rw-r--r-- | boot/mr_install.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/boot/mr_install.sh b/boot/mr_install.sh index e2168383..9bd56563 100644 --- a/boot/mr_install.sh +++ b/boot/mr_install.sh @@ -54,6 +54,7 @@ apt-get update apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget make openjdk-8-jdk git ntp ntpdate # Download scripts from Nexus +# a) scripts for message router (mr) curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/mr_vm_init.sh -o /opt/mr_vm_init.sh curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/mr_serv.sh -o /opt/mr_serv.sh chmod +x /opt/mr_vm_init.sh @@ -61,6 +62,14 @@ chmod +x /opt/mr_serv.sh mv /opt/mr_serv.sh /etc/init.d update-rc.d mr_serv.sh defaults +# b) scripts for bus controller (dbcl) +curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/dbcl_vm_init.sh -o /opt/dbcl_vm_init.sh +curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/dbcl_serv.sh -o /opt/dbcl_serv.sh +chmod +x /opt/dbcl_vm_init.sh +chmod +x /opt/dbcl_serv.sh +mv /opt/dbcl_serv.sh /etc/init.d +update-rc.d dbcl_serv.sh defaults + # Download and install docker-engine and docker-compose echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list apt-get update @@ -94,4 +103,4 @@ resolvconf -u # Clone Gerrit repository and run docker containers cd /opt git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO dcae-startup-vm-message-router -./mr_vm_init.sh
\ No newline at end of file +./mr_vm_init.sh |