diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2015-10-01 15:50:22 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2015-10-01 15:50:22 -0500 |
commit | 382576f8f1e528d890c3477286ef5845b52ed6d4 (patch) | |
tree | d5634d52b1b4074eccce29e425146c4b56f98537 /ci/02-maasdeploy.sh | |
parent | 0bee92804ca6769985daf0afbdc28993b93e6324 (diff) |
updated the script to deploy maas cleanly. Update the Orange Lab
node infrastruture.
Change-Id: I4cde950a29589295e4d0986add3ddcd289b0fc7e
Diffstat (limited to 'ci/02-maasdeploy.sh')
-rwxr-xr-x | ci/02-maasdeploy.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh index f507f3f4..e9bed10e 100755 --- a/ci/02-maasdeploy.sh +++ b/ci/02-maasdeploy.sh @@ -27,7 +27,6 @@ if [ ! -e /var/lib/libvirt/images ]; then sudo apt-get install libvirt-bin -y sudo adduser ubuntu libvirtd - sudo virsh pool-define /dev/stdin <<EOF <pool type='dir'> <name>default</name> @@ -43,16 +42,17 @@ EOF fi sudo apt-add-repository ppa:maas-deployers/stable -y +sudo apt-add-repository ppa:juju/stable -y sudo apt-get update -y -sudo apt-get install maas-deployer -y +sudo apt-get install maas-deployer juju juju-deployer -y cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys maas-deployer -c deployment.yaml -d --force echo "... Deployment of maas finish ...." -maas_ip=`grep " ip_address" deployment.yaml | cut -d ":" -f 2` +#maas_ip=`grep " ip_address" deployment.yaml | cut -d ":" -f 2` #echo "... Deployment of opnfv release Started ...." -python deploy.py $maas_ip +#python deploy.py $maas_ip #echo "... Deployment of opnfv release finished ...." |