mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-06-20 13:15:33 +00:00
6 lines
189 B
Fish
6 lines
189 B
Fish
function vm_rm -a domain -d 'Destroy, undefine, and delete the volume of a domain'
|
|
virsh destroy $domain
|
|
virsh undefine $domain
|
|
virsh vol-delete /home/libvirt/$domain.qcow2
|
|
end
|