diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2017-01-05 09:53:56 -0600 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2017-01-06 16:27:21 -0600 |
commit | 512a3b283ff25cad16a36605c80df4742673690b (patch) | |
tree | dfbe5f74a6a026d89ceb232c9c60ee65157674f4 /ci/02-deploybundle.sh | |
parent | 9a825022ab2c447c1c77fde86c3731d89d1626dd (diff) |
modified to add cpu as host cpu for kvm machines.
Change-Id: Ia265021a79d5595748ec0b6b3e5988adbc3086b7
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/02-deploybundle.sh')
-rwxr-xr-x | ci/02-deploybundle.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh index 23107878..e34f3d70 100755 --- a/ci/02-deploybundle.sh +++ b/ci/02-deploybundle.sh @@ -53,6 +53,12 @@ check_status() { #read the value from deployment.yaml +PROFILE=maas +MAAS_IP=$(grep " ip_address" deployment.yaml | cut -d ':' -f 2 | sed -e 's/ //') +API_SERVERMAAS="http://$MAAS_IP/MAAS/" +API_KEY=`sudo maas-region apikey --username=ubuntu` +maas login $PROFILE $API_SERVERMAAS $API_KEY + if [[ "$opnfvmodel" = "openstack" ]]; then if [ -e ./deployment.yaml ]; then if [ -e ./deployconfig.yaml ]; then |