summaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-09-22 15:13:32 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-22 15:13:32 +0000
commit0ff528e845c3e46070b01db629ef895ff7c97709 (patch)
tree225f86020c7994ffd217834f2f309d4d9ecd36d8 /boot
parent14b4f1d5c02629d7c8ffa4ba5114349961278c88 (diff)
parenta59806493ed2adb2cac1468b2af2cf1821f7ac72 (diff)
Merge "Add Usecase-UI docker run instructions in demo"
Diffstat (limited to 'boot')
-rwxr-xr-xboot/uui_vm_init.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/boot/uui_vm_init.sh b/boot/uui_vm_init.sh
index 630293d1..ebec9e3d 100755
--- a/boot/uui_vm_init.sh
+++ b/boot/uui_vm_init.sh
@@ -6,7 +6,16 @@ NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
DOCKER_IMAGE_VERSION=$(cat /opt/config/uui_docker.txt)
+source /opt/config/onap_ips.txt
+
# Refresh images
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
+docker pull $NEXUS_DOCKER_REPO/onap/uui/ui:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/uui/server:$DOCKER_IMAGE_VERSION
+
+docker rm -f uui_ui
+docker rm -f uui_server
-# Insert docker run instructions here \ No newline at end of file
+# Insert docker run instructions here
+docker run -i -t -d --name uui_ui -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/uui/ui:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name uui_server -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/uui/server:$DOCKER_IMAGE_VERSION \ No newline at end of file