mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 20:37:22 +00:00
Add refresh, vm_inst, and vm_rm fish functions
This commit is contained in:
parent
cf153415cd
commit
58260679c1
3 changed files with 61 additions and 0 deletions
5
.config/fish/functions/vm_rm.fish
Normal file
5
.config/fish/functions/vm_rm.fish
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue