From: Narinder Gupta Date: Tue, 27 Oct 2015 01:23:00 +0000 (-0500) Subject: modified maas to include the ssh public keys for maas and host X-Git-Tag: brahmaputra.1.0~151 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=282c1b886b52722d38c2e789e2df960506a198d9;p=joid.git modified maas to include the ssh public keys for maas and host server Change-Id: I361e42d05ecc9d11b425b7d8e6a70104cb854c7c --- 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