diff options
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/03-maasdeploy.sh | 4 | ||||
-rwxr-xr-x | ci/cleanvm.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ci/03-maasdeploy.sh b/ci/03-maasdeploy.sh index ce9d7312..66a7fd03 100755 --- a/ci/03-maasdeploy.sh +++ b/ci/03-maasdeploy.sh @@ -10,7 +10,7 @@ if [ ! -e $HOME/.ssh/id_rsa ]; then 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 @@ -401,7 +401,7 @@ if [ "$virtinstall" -eq 1 ]; then 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 diff --git a/ci/cleanvm.sh b/ci/cleanvm.sh index d4f1f3bd..3756c406 100755 --- a/ci/cleanvm.sh +++ b/ci/cleanvm.sh @@ -1,12 +1,12 @@ #!/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) |