aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-31 02:26:19 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-31 02:26:19 -0200
commit00890f444f764912b1b63a0d2065a402580d0585 (patch)
treee10c45abc6b8ab78ef517ba84b1b83757bc2be35 /share
parent7f5a53a88d05dfedf64a8234603f3feda75c0cb0 (diff)
downloadhydra-00890f444f764912b1b63a0d2065a402580d0585.tar.gz
hydra-00890f444f764912b1b63a0d2065a402580d0585.tar.bz2
Removes kvm-stop
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/kvm-stop19
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"