diff options
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/clean.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/clean.sh b/ci/clean.sh index 105ef0cb..aa2ca440 100755 --- a/ci/clean.sh +++ b/ci/clean.sh @@ -9,7 +9,8 @@ if [ -d $HOME/.juju/environments ]; then echo " environment is not bootstrapped ..." else echo " environment is bootstrapped ..." - juju destroy-environment demo-maas -y + jujuenv=`juju status | grep environment | cut -d ":" -f 2` + juju destroy-environment $jujuenv -y fi rm -rf precise rm -rf trusty |