We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 484dd55 commit dbcdf90Copy full SHA for dbcdf90
1 file changed
tools/jenkins/configurations/kvm.sh
@@ -26,7 +26,8 @@ TOP_DIR=(pwd)
26
# Name test instance based on executor
27
BASE_NAME=executor-`printf "%02d" $EXECUTOR_NUMBER`
28
GUEST_NAME=$BASE_NAME.$ADAPTER
29
-virsh destroy `virsh list | grep $BASE_NAME | cut -d " " -f1` || true
+virsh list | grep $BASE_NAME | cut -d " " -f1 | xargs -n 1 virsh destroy || true
30
+virsh net-list | grep $BASE_NAME | cut -d " " -f1 | xargs -n 1 virsh net-destroy || true
31
32
# Configure localrc
33
cat <<EOF >localrc
0 commit comments