提交 9852ebbb 编写于 作者: M Medya Gh

CI: list vms after clean up

上级 fb1b6ebb
......@@ -130,6 +130,8 @@ if type -P virsh; then
| awk '{ print $2 }' \
| xargs -I {} sh -c "virsh -c qemu:///system destroy {}; virsh -c qemu:///system undefine {}" \
|| true
# list again after clean up
virsh -c qemu:///system list --all
fi
if type -P vboxmanage; then
......@@ -146,6 +148,8 @@ if type -P vboxmanage; then
| cut -d'"' -f3 \
| xargs -I {} sh -c "vboxmanage startvm {} --type emergencystop; vboxmanage unregistervm {} --delete" \
|| true
# list them again after clean up
vboxmanage list vms || true
fi
if type -P hdiutil; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册