diff options
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/02-deploybundle.sh | 2 | ||||
-rwxr-xr-x | ci/deploy.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh index 974d65ac..bc274819 100755 --- a/ci/02-deploybundle.sh +++ b/ci/02-deploybundle.sh @@ -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 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 |