X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=boot%2Foof_vm_init.sh;h=7c1f2cc78637fc4206b9a60068b1ce23c2056a54;hb=70e0586b8de17723bed3e836d6cf08d1d9022e57;hp=3baa7cc104460ddfb2c6b42a4c5c2bc0050d4a8c;hpb=2ac3802b4c88c09d8c2df2a218adda7c8955cd36;p=demo.git diff --git a/boot/oof_vm_init.sh b/boot/oof_vm_init.sh index 3baa7cc1..7c1f2cc7 100644 --- a/boot/oof_vm_init.sh +++ b/boot/oof_vm_init.sh @@ -2,7 +2,7 @@ CERT=/opt/optf-has/aai_cert.cer KEY=/opt/optf-has/aai_key.key -BUNDLE=/opt/optf-has/aai_bundle.pem +BUNDLE=/opt/optf-has/AAF_RootCA.cer NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt) NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt) @@ -10,13 +10,13 @@ NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt) DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt) cd /opt/optf-has -#git pull +git pull COND_CONF=/opt/optf-has/conductor.conf LOG_CONF=/opt/optf-has/log.conf #!!! THE FOLLOWING LINE IS A PLACEHOLDER !!! -AAI_cert=/usr/local/bin/aai_cert.cer +AAI_cert=/usr/local/bin/AAF_RootCA.cer IMAGE_NAME="$NEXUS_DOCKER_REPO/onap/optf-has" @@ -43,49 +43,58 @@ docker pull $NEXUS_DOCKER_REPO/onap/optf-has:$DOCKER_IMAGE_VERSION OSDF_IMAGE_NAME="$NEXUS_DOCKER_REPO/onap/optf-osdf" OSDF_CONFIG=/opt/optf-osdf/config/osdf_config.yaml +HAS_HOST=$(docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddress}}' api) mkdir -p /opt/optf-osdf/config cat > $OSDF_CONFIG<