Add Register To 85/69785/1
authorInstrumental <jonathan.gathman@att.com>
Thu, 4 Oct 2018 04:48:20 +0000 (23:48 -0500)
committerInstrumental <jonathan.gathman@att.com>
Thu, 4 Oct 2018 04:50:50 +0000 (23:50 -0500)
For HEAT, needed to utilize use the "aaf.api.simpledemp.onap.org" FQDN.
Only change for HEAT is making sure FQDN is pushed to Container

Issue-ID: AAF-517
Change-Id: Ia16ec14168fbc92cae6fe1f7019e961bbb9f965d
Signed-off-by: Instrumental <jonathan.gathman@att.com>
heat/ONAP/cloud-config/aaf_vm_init.sh

index de71ba6..6d4fa28 100644 (file)
@@ -45,6 +45,7 @@ fi
 sed -i "s/VERSION=.*/VERSION=$VERSION/g" /opt/authz/auth/docker/d.props
 sed -i "s/HOSTNAME=.*/HOSTNAME=$HOSTNAME/g" /opt/authz/auth/docker/d.props
 sed -i "s/HOST_IP=.*/HOST_IP=$HOST_IP/g" /opt/authz/auth/docker/d.props
+sed -i "s/AAF_REGISTER_AS=.*/AAF_REGISTER_AS=$FQDN/g" /opt/authz/auth/docker/d.props
 
 cd /opt/authz/auth/docker
 # Need new Deployment system properties