summaryrefslogtreecommitdiffstats
path: root/ci/clean.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-02-05 08:24:01 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2017-02-05 08:55:45 -0600
commitfe8f6531947ae65939e977117f9b281fbe14bed3 (patch)
treef6a45dac9d3870bef73cc0cf46a39ab43f1a1323 /ci/clean.sh
parentedf35e6c820e613ae73999189ed7e4b98c3a4e7d (diff)
cleanup task.
Change-Id: I287e80899225c611752117ab29f079de7ba25f58 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/clean.sh')
-rwxr-xr-xci/clean.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/ci/clean.sh b/ci/clean.sh
index aa14fe76..68d4dd36 100755
--- a/ci/clean.sh
+++ b/ci/clean.sh
@@ -6,7 +6,6 @@ jujuver=`juju --version`
if [[ "$jujuver" > "2" ]]; then
if [ ! -d labconfig.yaml ]; then
- cp ~/joid_config/deployment.yaml ./deployment.yaml || true
cp ~/joid_config/labconfig.yaml ./labconfig.yaml || true
cp ~/joid_config/deployconfig.yaml ./deployconfig.yaml || true
fi
@@ -19,8 +18,8 @@ fi
if [[ "$jujuver" > "2" ]]; then
- controllername=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployment.yaml`
- cloudname=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployment.yaml`
+ controllername=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployconfig.yaml`
+ cloudname=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployconfig.yaml`
juju kill-controller $controllername --timeout 10s -y || true
rm -rf precise
rm -rf trusty