base-image-build/scripts/utils/resetKVMs.sh

3 lines
166 B
Bash
Raw Normal View History

2024-08-11 09:09:04 +00:00
#!/bin/bash
# Its fine if there are some errs here in most cases
virsh reset rocky;virsh destroy rocky;virsh undefine rocky;virsh list;rm -f /var/lib/libvirt/images/*