about summary refs log blame commit diff stats
path: root/hm/soispha/pkgs/scripts/wrappers/virsh-del
blob: 96a9404d678542850d4ee17372a71e25cc43755d (plain) (tree)
1
2
3
4
5
6
7
8
9
                    
 
                             
                                                    
 


                                          
            
#! /usr/bin/env dash

# shellcheck source=/dev/null
SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH

virsh destroy "$1"
virsh undefine "$1" --nvram
virsh vol-delete --pool default "$1".qcow2

# vim: ft=sh