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/* +