about summary refs log tree commit diff stats
path: root/pkgs/by-name/vi/virsh-del
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/vi/virsh-del')
-rw-r--r--pkgs/by-name/vi/virsh-del/package.nix13
-rwxr-xr-xpkgs/by-name/vi/virsh-del/virsh-del.sh10
2 files changed, 0 insertions, 23 deletions
diff --git a/pkgs/by-name/vi/virsh-del/package.nix b/pkgs/by-name/vi/virsh-del/package.nix
deleted file mode 100644
index 3f27e2be..00000000
--- a/pkgs/by-name/vi/virsh-del/package.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{
-  sysLib,
-  libvirt,
-}:
-sysLib.writeShellScript {
-  name = "virsh-del";
-  src = ./virsh-del.sh;
-  generateCompletions = false;
-  keepPath = false;
-  dependencies = [
-    libvirt
-  ];
-}
diff --git a/pkgs/by-name/vi/virsh-del/virsh-del.sh b/pkgs/by-name/vi/virsh-del/virsh-del.sh
deleted file mode 100755
index c3de5484..00000000
--- a/pkgs/by-name/vi/virsh-del/virsh-del.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#! /usr/bin/env dash
-
-# shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH
-
-virsh destroy "$1"
-virsh undefine "$1" --nvram
-virsh vol-delete --pool default "$1".qcow2
-
-# vim: ft=sh