summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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