From: Loic Dachary Date: Mon, 14 Sep 2015 21:40:55 +0000 (+0200) Subject: openstack: cleanup the src directory when stopping the cluster X-Git-Tag: 1.1.0~820^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F628%2Fhead;p=teuthology.git openstack: cleanup the src directory when stopping the cluster So that there is no leftover from the ceph-qa-suite clones. Signed-off-by: Loic Dachary --- diff --git a/teuthology/openstack/openstack-teuthology.init b/teuthology/openstack/openstack-teuthology.init index f99c4b4d..60e60486 100755 --- a/teuthology/openstack/openstack-teuthology.init +++ b/teuthology/openstack/openstack-teuthology.init @@ -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