qubes-doc/troubleshooting/remove-vm-manually.md

35 lines
891 B
Markdown
Raw Normal View History

2016-12-20 05:36:06 -08:00
---
layout: doc
title: How to Remove VMs Manually
permalink: /doc/remove-vm-manually/
---
How to Remove VMs Manually
==========================
2018-05-13 16:05:58 +00:00
How to Remove a TemplateVM Manually (R3.2)
------------------------------------------
2016-12-20 05:36:06 -08:00
Try the [normal method] before resorting to this one.
All of the following commands should be executed in a dom0 terminal.
2016-12-20 05:36:06 -08:00
1. Remove the TemplateVM's directory:
$ rm -rf /var/lib/qubes/vm-templates/<template-name>
2016-12-20 05:36:06 -08:00
2. Remove the TemplateVM from qubes.xml:
$ qvm-remove --just-db <template-name>
2016-12-20 05:36:06 -08:00
3. Remove the TemplateVM's `*.desktop` files from `~/.local/share/applications`:
$ rm ~/.local/share/applications/<template-name>*
2016-12-20 05:36:06 -08:00
2017-03-09 08:41:55 -08:00
4. Remove the TemplateVM's Applications Menu entry:
2017-03-09 17:30:12 +01:00
$ sudo rm /etc/xdg/menus/applications-merged/<template-name>*
[normal method]: /doc/templates/#how-to-install-uninstall-and-reinstall