summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-04-12 16:27:23 -0400
committerDan Radez <dradez@redhat.com>2016-04-12 16:27:23 -0400
commitce801d561df163ff2ff27983067f39852947aa68 (patch)
treedfbb4b65cb539956de340a8487d7022037966495 /ci
parent0717bc3c56ab294f860ef99116754c1fd786cae7 (diff)
Forcing a libvirtd restart on clean
- ensures the storage vols are cleaned up properly Change-Id: I55c0dbcbbc884658b9e37e34aa85d00e29e99b57 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/clean.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/clean.sh b/ci/clean.sh
index 2a91b7ce..fbbca1f8 100755
--- a/ci/clean.sh
+++ b/ci/clean.sh
@@ -53,4 +53,7 @@ sed -i '/stack@undercloud.localdomain/d' /root/.ssh/authorized_keys
sed -i '/virtual-power-key/d' /root/.ssh/authorized_keys
+# restart libvirtd to force storage cleanup
+systemctl restart libvirtd
+
echo "Cleanup Completed"