diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-31 02:26:19 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-31 02:26:19 -0200 |
commit | 00890f444f764912b1b63a0d2065a402580d0585 (patch) | |
tree | e10c45abc6b8ab78ef517ba84b1b83757bc2be35 /share | |
parent | 7f5a53a88d05dfedf64a8234603f3feda75c0cb0 (diff) | |
download | hydra-00890f444f764912b1b63a0d2065a402580d0585.tar.gz hydra-00890f444f764912b1b63a0d2065a402580d0585.tar.bz2 |
Removes kvm-stop
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" |