summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2015-10-26 20:23:00 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2015-10-26 20:23:48 -0500
commit282c1b886b52722d38c2e789e2df960506a198d9 (patch)
tree953dacf75079faf92c7ffdff0f3d9a3997e839fc
parent09815995b6ded6865c43bf640e9c6220283ec093 (diff)
modified maas to include the ssh public keys for maas and host
server Change-Id: I361e42d05ecc9d11b425b7d8e6a70104cb854c7c
-rwxr-xr-xci/02-maasdeploy.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh
index 1a88a4b3..0b577cfa 100755
--- a/ci/02-maasdeploy.sh
+++ b/ci/02-maasdeploy.sh
@@ -56,8 +56,11 @@ echo "... Deployment of maas finish ...."
maas_ip=`grep " ip_address" deployment.yaml | cut -d " " -f 10`
apikey=`grep maas-oauth: environments.yaml | cut -d "'" -f 2`
maas login maas http://${maas_ip}/MAAS/api/1.0 ${apikey}
-maas maas boot-source-selections create 1 os="ubuntu" release="precise" arches="amd64" subarches="*" labels="*"
+maas maas boot-source update 1 url="http://maas.ubuntu.com/images/ephemeral-v2/daily/"
+#maas maas boot-source-selections create 1 os="ubuntu" release="precise" arches="amd64" subarches="*" labels="*"
maas maas boot-resources import
+maas maas sshkeys new key="`cat $HOME/.ssh/id_rsa.pub`"
+maas maas sshkeys new key="`cat $HOME/.ssh/id_maas.pub`"
#echo "... Deployment of opnfv release Started ...."
#python deploy.py $maas_ip