summaryrefslogtreecommitdiffstats
path: root/ci/clean.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-05-19 15:08:55 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-05-19 15:41:44 -0500
commitf963c791e2f17b14b98dfc2b3e0db5f8447bbe87 (patch)
tree5d9bd4290c7b36c34b8ae9db4e17d385b9a2116b /ci/clean.sh
parentd5f34f983ecf3b07ba3f542647b7975c36036afc (diff)
more robust to clean amd syntax error.
core orange pods with new method of installing MAAS. Change-Id: I871da8238fd57f371f9a0eaae88813c7f9713069 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/clean.sh')
-rwxr-xr-xci/clean.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/clean.sh b/ci/clean.sh
index c6658b4e..adf225c4 100755
--- a/ci/clean.sh
+++ b/ci/clean.sh
@@ -10,9 +10,11 @@ if [ -d $HOME/.juju/environments ]; then
else
echo " environment is bootstrapped ..."
juju destroy-environment demo-maas -y
- rm -rf $HOME/.juju/j*
- rm -rf $HOME/.juju/.deployer-store-cache
fi
+ rm -rf trusty
+ rm -rf xenial
+ rm -rf $HOME/.juju/j*
+ rm -rf $HOME/.juju/.deployer-store-cache
rm -rf $HOME/.juju/environments
rm -rf $HOME/.juju/ssh
fi