aboutsummaryrefslogtreecommitdiffstats
path: root/boot/uui_vm_init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boot/uui_vm_init.sh')
-rwxr-xr-xboot/uui_vm_init.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/boot/uui_vm_init.sh b/boot/uui_vm_init.sh
deleted file mode 100755
index 46a8edfe..00000000
--- a/boot/uui_vm_init.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-# Establish environment variables
-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/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/usecase-ui:$DOCKER_IMAGE_VERSION
-docker pull $NEXUS_DOCKER_REPO/onap/usecase-ui/usecase-ui-server:$DOCKER_IMAGE_VERSION
-
-docker rm -f uui_ui
-docker rm -f uui_server
-
-# Insert docker run instructions here
-docker run -i -t -d --name uui_ui -p 8080:8080 -e MSB_ADDR=$MULTISERV_IP:80 $NEXUS_DOCKER_REPO/onap/usecase-ui:$DOCKER_IMAGE_VERSION
-docker run -i -t -d --name uui_server -p 8082:8082 -e MSB_ADDR=$MULTISERV_IP:80 -e MR_ADDR=$MR_IP:3904 $NEXUS_DOCKER_REPO/onap/usecase-ui/usecase-ui-server:$DOCKER_IMAGE_VERSION \ No newline at end of file