summaryrefslogtreecommitdiffstats
path: root/boot/msb_vm_init.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-09-20 16:23:22 -0400
committerMarco Platania <platania@research.att.com>2017-09-20 16:23:22 -0400
commit14826109d7d7b8f8388f7866159c57acd1a307cb (patch)
tree5873eeb33f15e6467ee6d30c86af700bc4dce0a9 /boot/msb_vm_init.sh
parent48e87a5668b870051e2b03b3c412b41dc791b021 (diff)
Add install scripts for OPEN-O component
- Modify vnfsdk_vm_init.sh - Modify msb_vm_init.sh - Rename vnfsdk_install.sh to openo_install.sh - Rename vnfsdk_serv.sh to openo_serv.sh - Add mvim_vm_init.sh, vfc_vm_init.sh, and vfc_vm_init.sh Change-Id: Ie7927356f542166c1dfe808b37b14fca5b1accb0 Issue-ID: INT-213 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/msb_vm_init.sh')
-rw-r--r--boot/msb_vm_init.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh
index 61f7cba4..73c342fc 100644
--- a/boot/msb_vm_init.sh
+++ b/boot/msb_vm_init.sh
@@ -1,11 +1,11 @@
#!/bin/bash
-NEXUS_USERNAME=onap
-NEXUS_PASSWD=onap
-NEXUS_DOCKER_REPO=nexus3.onap.org:10001
-# DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
-DOCKER_IMAGE_VERSION=latest
+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_IMAGE_VERSION=$(cat /opt/config/msb_docker.txt)
+source /opt/config/onap_ips.txt
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
docker pull $NEXUS_DOCKER_REPO/onap/msb/msb_discovery:$DOCKER_IMAGE_VERSION