From 7683212c12a955f666391869f61ee6988f251682 Mon Sep 17 00:00:00 2001 From: Andrew David Wong Date: Tue, 20 Dec 2016 05:36:06 -0800 Subject: [PATCH] Create page on removing VMs manually --- doc.md | 1 + troubleshooting/remove-vm-manually.md | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 troubleshooting/remove-vm-manually.md diff --git a/doc.md b/doc.md index 18210c76..ebc04c6c 100644 --- a/doc.md +++ b/doc.md @@ -188,6 +188,7 @@ Troubleshooting * [Getting Sony Vaio Z laptop to work with Qubes](/doc/sony-vaio-tinkering/) * [Troubleshooting UEFI related problems](/doc/uefi-troubleshooting/) * [Fixing wireless on suspend & resume](/doc/wireless-troubleshooting/) + * [How to remove VMs manually](/doc/remove-vm-manually/) Reference Pages diff --git a/troubleshooting/remove-vm-manually.md b/troubleshooting/remove-vm-manually.md new file mode 100644 index 00000000..02865e4c --- /dev/null +++ b/troubleshooting/remove-vm-manually.md @@ -0,0 +1,26 @@ +--- +layout: doc +title: How to Remove VMs Manually +permalink: /doc/remove-vm-manually/ +--- + +How to Remove VMs Manually +========================== + +How to Remove a TemplateVM Manually +----------------------------------- + +All commands should be executed in a dom0 terminal. + +1. Remove the TemplateVM's directory: + + $ rm /var/lib/qubes/vm-templates/ + +2. Remove the TemplateVM from qubes.xml: + + $ qvm-remove --just-db + +3. Remove the TemplateVM's `*.desktop` files from `~/.local/share/applications`: + + $ rm ~/.local/share/applications/* +