Merge "Bumps Undercloud to 12GB"
[apex.git] / ci / clean.sh
index fbbca1f..4209006 100755 (executable)
@@ -13,7 +13,7 @@
 #author: Tim Rozet (trozet@redhat.com)
 
 # Use default if no param passed
-CONFIG=${1-"/var/opt/opnfv"}
+CONFIG=${CONFIG:-'/var/opt/opnfv'}
 
 ##LIBRARIES
 source $CONFIG/lib/common-functions.sh
@@ -53,7 +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
+# force storage cleanup
+virsh pool-refresh default
 
 echo "Cleanup Completed"