diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/kvm-stop | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/share/hydractl/kvm-stop b/share/hydractl/kvm-stop deleted file mode 100755 index f1a4533..0000000 --- a/share/hydractl/kvm-stop +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# -# Workaround for stopping kVM-manager instances. -# - -# Parameters -BASENAME="`basename $0`" -VM="$1" - -# Check -if [ -z "$VM" ]; then - echo "usage: $BASENAME <vm>" - exit 1 -fi - -# Run -sv stop $VM ; sv kill $VM ; sv exit $VM -killall $VM -ip link set "${VM}0" down ; ip tuntap del mode tap dev "${VM}0" |