also deleting "set -e" from cleanvm.sh
Change-Id: I0404abf63e158d93d5193a4c74bd4075ffed6efc
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
fi
#install the packages needed
-sudo apt-add-repository ppa:juju/dev -y
+sudo apt-add-repository ppa:juju/devel -y
sudo apt-add-repository ppa:maas/stable -y
sudo apt-add-repository cloud-archive:newton -y
sudo apt-get update -y
fi
# lets sleep for around 5 more minutes to make sure all images are in sync.
-sleep(300)
+sleep 300
#lets add the nodes now. Currently works only for virtual deploymnet.
addnodes
#!/bin/bash
-set -ex
+set -x
echo " Cleanup Started ..."
#use the below commands if you needs to delete the virtual machine
# also along with envuronment destroy.
-./clean.sh || true
+./clean.sh
vm_list=$(sudo virsh list --all)