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

3 lines
166 B
Bash

#!/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/*