aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/asdc
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/vagrant-onap/lib/asdc')
-rwxr-xr-xbootstrap/vagrant-onap/lib/asdc7
1 files changed, 5 insertions, 2 deletions
diff --git a/bootstrap/vagrant-onap/lib/asdc b/bootstrap/vagrant-onap/lib/asdc
index d697a4eb4..bbd3d3bc5 100755
--- a/bootstrap/vagrant-onap/lib/asdc
+++ b/bootstrap/vagrant-onap/lib/asdc
@@ -94,8 +94,11 @@ function install_sdc {
sed -i "s/\"ueb_url_list\":.*/\"ueb_url_list\": \""$MR_IP_ADDR","$MR_IP_ADDR"\",/g" /data/environments/$ENV_NAME.json
sed -i "s/\"fqdn\":.*/\"fqdn\": [\""$MR_IP_ADDR"\", \""$MR_IP_ADDR"\"]/g" /data/environments/$ENV_NAME.json
- docker_openecomp_login
- bash /data/scripts/docker_run.sh -e $ENV_NAME -r $RELEASE -p $NEXUS_DOCKER_PORT
+ install_docker
+ if [[ "$pull_docker_image" == "True" ]]; then
+ docker_openecomp_login
+ bash /data/scripts/docker_run.sh -e $ENV_NAME -r $RELEASE -p $NEXUS_DOCKER_PORT
+ fi
}
# init_asdc() - Function that initialize SDC services