Add refresh, vm_inst, and vm_rm fish functions

This commit is contained in:
mitchell 2021-01-17 23:55:59 -05:00
parent cf153415cd
commit 58260679c1
3 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,5 @@
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/m/libvirt/$domain.qcow2
end