Create page on removing VMs manually

This commit is contained in:
Andrew David Wong 2016-12-20 05:36:06 -08:00
parent 9e5eb9e367
commit 7683212c12
No known key found for this signature in database
GPG Key ID: 8CE137352A019A17
2 changed files with 27 additions and 0 deletions

1
doc.md
View File

@ -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

View File

@ -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/<template-name>
2. Remove the TemplateVM from qubes.xml:
$ qvm-remove --just-db <template-name>
3. Remove the TemplateVM's `*.desktop` files from `~/.local/share/applications`:
$ rm ~/.local/share/applications/<template-name>*