2 #placeholder for deployment script.
7 cp intel/pod5/maas/deployment.yaml ./deployment.yaml
10 cp intel/pod5/maas/deployment.yaml ./deployment.yaml
14 echo "... Deployment of maas Started ...."
15 sudo apt-add-repository ppa:maas-deployers/stable -y
16 sudo apt-get update -y
17 sudo apt-get install maas-deployer -y
18 if [ ! -e /home/ubuntu/.ssh/id_rsa ]; then
19 ssh-keygen -N '' -f /home/ubuntu/.ssh/id_rsa
21 sudo adduser ubuntu libvirtd
22 cat /home/ubuntu/.ssh/id_rsa.pub > /home/ubuntu/.ssh/authorized_keys
23 maas-deployer -c deployment.yaml -d --force
24 echo "... Deployment of maas finish ...."
26 maas_ip=`grep " ip_address" deployment.yaml | cut -d ":" -f 2`
28 #echo "... Deployment of opnfv release Started ...."
29 python deploy.py $maas_ip
30 #echo "... Deployment of opnfv release finished ...."