diff options
-rw-r--r-- | boot/aaf_vm_init.sh | 2 | ||||
-rw-r--r-- | heat/ONAP/onap_openstack.yaml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/boot/aaf_vm_init.sh b/boot/aaf_vm_init.sh index 4eab2143..06d8de1d 100644 --- a/boot/aaf_vm_init.sh +++ b/boot/aaf_vm_init.sh @@ -6,7 +6,7 @@ NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt) DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt) HOSTNAME=`hostname` FQDN=aaf.api.simpledemo.onap.org -HOST_IP=$(cat /opt/config/dns_ip_addr.txt) +HOST_IP=$(cat /opt/config/local_ip_addr.txt) docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO diff --git a/heat/ONAP/onap_openstack.yaml b/heat/ONAP/onap_openstack.yaml index ab2f4e99..267f67ea 100644 --- a/heat/ONAP/onap_openstack.yaml +++ b/heat/ONAP/onap_openstack.yaml @@ -2156,6 +2156,7 @@ resources: __nexus_password__: { get_param: nexus_password } __artifacts_version__: { get_param: artifacts_version } __dns_ip_addr__: { get_param: dns_ip_addr } + __local_ip_addr__: { get_param: aaf_ip_addr } __docker_version__: { get_param: aaf_docker } __cloud_env__: { get_param: cloud_env } __external_dns__: { get_param: external_dns } @@ -2173,6 +2174,7 @@ resources: echo "__nexus_password__" > /opt/config/nexus_password.txt echo "__artifacts_version__" > /opt/config/artifacts_version.txt echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt + echo "__local_ip_addr__" > /opt/config/local_ip_addr.txt echo "__docker_version__" > /opt/config/docker_version.txt echo "__cloud_env__" > /opt/config/cloud_env.txt echo "__external_dns__" > /opt/config/external_dns.txt |