Add clean.sh

clean.sh gets rid of all residue of running DevStack except installed
packages and pip modules.

And it eradicates rabbitmq-server and ts erlang dependencies as well as
the other RPC backends and databases.

Change-Id: I2b9a251a0a151c012bae85a5a2f9c2f72e7700be
This commit is contained in:
Dean Troyer
2013-03-07 16:11:40 -06:00
parent 08fd641a19
commit 995eb927f7
11 changed files with 185 additions and 10 deletions
+5
View File
@@ -42,6 +42,11 @@ done
# This is not an error as multi-node installs will do this on the compute nodes
# Get rid of everything enough to cleanly change database backends
function cleanup_database {
cleanup_database_$DATABASE_TYPE
}
# Set the database type based on the configuration
function initialize_database_backends {
for backend in $DATABASE_BACKENDS; do