Adding port 5240 along with MAAS_URL needed for non x86 57/39157/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Sat, 12 Aug 2017 00:32:44 +0000 (19:32 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Sat, 12 Aug 2017 00:32:44 +0000 (19:32 -0500)
architecture.

Change-Id: Ia30ced70185d3f42529f49621f46e539c8c006e6
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/02-deploybundle.sh
ci/deploy.sh

index 974d65a..bc27481 100755 (executable)
@@ -52,7 +52,7 @@ check_status() {
 
 PROFILE=maas
 MAAS_IP=$(grep " ip_address" deployconfig.yaml | cut -d ':' -f 2 | sed -e 's/ //')
-API_SERVERMAAS="http://$MAAS_IP/MAAS/"
+API_SERVERMAAS="http://$MAAS_IP:5240/MAAS/"
 if [[ "$maasver" > "2" ]]; then
     API_KEY=`sudo maas-region apikey --username=ubuntu || true`
 else
index 15229e6..bc14630 100755 (executable)
@@ -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