summaryrefslogtreecommitdiffstats
path: root/ci/clean.sh
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-05-26 14:34:31 -0400
committerDan Radez <dradez@redhat.com>2016-05-27 23:10:36 -0400
commit1695a72d5680fae3cf35d6a6dbd64de5dd08daf3 (patch)
treeb1e9b7d8f92efe359be4c3952c524d8e04fb47cd /ci/clean.sh
parent7eb710c246f88a43908d5bbebe33e693d82146d5 (diff)
Updates to CONFIG, RESOURCES and LIB
- removing the -r and -c parameters - relying on ENV vars for non-system locations - abstracting the apex-python-utils to a var Change-Id: I7ff1ca8b741c890647aee029c57e8342f0b5cb07 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'ci/clean.sh')
-rwxr-xr-xci/clean.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/clean.sh b/ci/clean.sh
index 42090069..08c0d53f 100755
--- a/ci/clean.sh
+++ b/ci/clean.sh
@@ -14,9 +14,11 @@
# Use default if no param passed
CONFIG=${CONFIG:-'/var/opt/opnfv'}
+RESOURCES=${RESOURCES:-"$CONFIG/images"}
+LIB=${LIB:-"$CONFIG/lib"}
##LIBRARIES
-source $CONFIG/lib/common-functions.sh
+source $LIB/common-functions.sh
vm_index=4
ovs_bridges="br-admin br-private br-public br-storage"