summaryrefslogtreecommitdiffstats
path: root/boot/sdnc_vm_init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boot/sdnc_vm_init.sh')
-rw-r--r--boot/sdnc_vm_init.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot/sdnc_vm_init.sh b/boot/sdnc_vm_init.sh
index a642a530..353ae6f3 100644
--- a/boot/sdnc_vm_init.sh
+++ b/boot/sdnc_vm_init.sh
@@ -5,5 +5,8 @@ NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
cd /opt/sdnc
+git pull
+
+cd /opt/sdnc/installation/src/main/yaml
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
/opt/docker/docker-compose up -d