]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
openstack: cleanup the src directory when stopping the cluster 628/head
authorLoic Dachary <ldachary@redhat.com>
Mon, 14 Sep 2015 21:40:55 +0000 (23:40 +0200)
committerLoic Dachary <ldachary@redhat.com>
Mon, 14 Sep 2015 21:42:16 +0000 (23:42 +0200)
So that there is no leftover from the ceph-qa-suite clones.

Signed-off-by: Loic Dachary <loic@dachary.org>
teuthology/openstack/openstack-teuthology.init

index f99c4b4d91b874ec39a8f5fe3b101ee79237fe2e..60e60486a952a427b3f2ccddb489708d3b3eca7d 100755 (executable)
@@ -73,6 +73,7 @@ case $1 in
                     while read uuid ; do
                     eval openstack server delete $uuid
                 done
+                rm -fr /home/$user/src/*
                 ;;
         restart)
                 $0 stop