summaryrefslogtreecommitdiffstats
path: root/ci/openstack.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-02-05 08:24:01 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2017-02-05 08:55:45 -0600
commitfe8f6531947ae65939e977117f9b281fbe14bed3 (patch)
treef6a45dac9d3870bef73cc0cf46a39ab43f1a1323 /ci/openstack.sh
parentedf35e6c820e613ae73999189ed7e4b98c3a4e7d (diff)
cleanup task.
Change-Id: I287e80899225c611752117ab29f079de7ba25f58 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/openstack.sh')
-rwxr-xr-xci/openstack.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/openstack.sh b/ci/openstack.sh
index 1c40cf52..06e59c4f 100755
--- a/ci/openstack.sh
+++ b/ci/openstack.sh
@@ -180,7 +180,7 @@ if ([ "$opnfvlab" == "orangepod1" ] \
# The public network exists on MAAS, so we push the dns record to it
# Recover maas ips and login to it
- maas_ip=$(grep " ip_address" deployment.yaml | cut -d ':' -f 2 | sed -e 's/ //')
+ maas_ip=$(grep " ip_address" deployconfig.yaml | cut -d ':' -f 2 | sed -e 's/ //')
maas_pubip=$(grep floating-ip-range ./labconfig.yaml |cut -d, -f4 |perl -pe 's!^(.*)\.\d+/\d+$!$1.5!')
apikey=$(grep maas-oauth: environments.yaml | cut -d "'" -f 2)
maas login maas http://${maas_ip}/MAAS/api/1.0 ${apikey}