aboutsummaryrefslogtreecommitdiffstats
path: root/boot/vnfsdk_vm_init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boot/vnfsdk_vm_init.sh')
-rwxr-xr-xboot/vnfsdk_vm_init.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/boot/vnfsdk_vm_init.sh b/boot/vnfsdk_vm_init.sh
index e1db6b5a..16886990 100755
--- a/boot/vnfsdk_vm_init.sh
+++ b/boot/vnfsdk_vm_init.sh
@@ -9,7 +9,7 @@ set -x
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/docker_version.txt)
+#DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt) --> don't needed at the moment
# Refresh configuration and scripts
cd /opt/refrepo
@@ -19,13 +19,11 @@ cd vnfmarket-be/deployment/install
# Get image names used below from docker-compose environment file
source .env
-
# Refresh images
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
docker pull $NEXUS_DOCKER_REPO/onap/refrepo:${REFREPO_TAG}
docker pull $NEXUS_DOCKER_REPO/onap/refrepo:${POSTGRES_TAG}
-
# docker-compose is not in /usr/bin
/opt/docker/docker-compose down
/opt/docker/docker-compose up -d