summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-08-11 19:32:44 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-08-11 19:32:44 -0500
commite4e0ab5bdd9a0be1398fa18bcd67dad8e39919c3 (patch)
tree657844687172a39d11aaca6650e623b4be1b99fe /ci/deploy.sh
parent76ea6c6712873652e2a6c1823bac479386f996a8 (diff)
Adding port 5240 along with MAAS_URL needed for non x86
architecture. Change-Id: Ia30ced70185d3f42529f49621f46e539c8c006e6 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-xci/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 15229e60..bc146305 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -82,7 +82,7 @@ createresource() {
# TODO: make sure this function run with the same parameters used in 03-maasdeploy.sh
PROFILE=${PROFILE:-ubuntu}
MAAS_IP=$(grep " ip_address" deployconfig.yaml | cut -d ':' -f 2 | sed -e 's/ //')
- API_SERVER="http://$MAAS_IP/MAAS/api/2.0"
+ API_SERVER="http://$MAAS_IP:5240/MAAS/api/2.0"
API_KEY=`sudo maas-region apikey --username=ubuntu`
maas login $PROFILE $API_SERVER $API_KEY