summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-01-19 10:42:46 -0500
committerAlexis de Talhouët <adetalhouet89@gmail.com>2018-01-19 10:45:31 -0500
commitb67a797a9494c385a8bdaff381ec8dbf460c788e (patch)
treebc79c5593e4c28e74ec07f2a424f737a315cd34c
parent9db858a8fc8b12924bee7395649750d4381f34d3 (diff)
Do not hardcode user/password of DNSaaS instance1.0.1-ONAP1.0.1-Amsterdam
User already has the possibility to provide the username/password, but the script is using hardcoded values. Let's use instead the user specific ones. Change-Id: Ice6ab80e039b437c16f0b8882b4b3e195a927653 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Issue-ID: DCAEGEN2-270
-rwxr-xr-xboot/dcae2_vm_init.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/dcae2_vm_init.sh b/boot/dcae2_vm_init.sh
index b071dffd..0ae1549a 100755
--- a/boot/dcae2_vm_init.sh
+++ b/boot/dcae2_vm_init.sh
@@ -160,8 +160,8 @@ register_multicloud_pod25dns_with_aai()
local CLOUD_ENV
local CLOUD_IDENTITY_URL
local DNSAAS_SERVICE_URL
- local DNSAAS_USERNAME='demo'
- local DNSAAS_PASSWORD='onapdemo'
+ local DNSAAS_USERNAME="$(cat /opt/config/dnsaas_username.txt)"
+ local DNSAAS_PASSWORD="$(cat /opt/config/dnsaas_password.txt)"
CLOUD_REGION="$(cat /opt/config/dnsaas_region.txt)"
CLOUD_ENV="$(cat /opt/config/cloud_env.txt)"