2016-12-20 08:36:06 -05:00
|
|
|
---
|
|
|
|
layout: doc
|
|
|
|
title: How to Remove VMs Manually
|
|
|
|
permalink: /doc/remove-vm-manually/
|
|
|
|
---
|
|
|
|
|
|
|
|
How to Remove VMs Manually
|
|
|
|
==========================
|
|
|
|
|
2018-05-13 12:05:58 -04:00
|
|
|
How to Remove a TemplateVM Manually (R3.2)
|
|
|
|
-----------------------------------------
|
2016-12-20 08:36:06 -05:00
|
|
|
|
|
|
|
All commands should be executed in a dom0 terminal.
|
|
|
|
|
|
|
|
1. Remove the TemplateVM's directory:
|
|
|
|
|
2016-12-31 22:45:02 -05:00
|
|
|
$ rm -rf /var/lib/qubes/vm-templates/<template-name>
|
2016-12-20 08:36:06 -05:00
|
|
|
|
|
|
|
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>*
|
|
|
|
|
2017-03-09 11:41:55 -05:00
|
|
|
4. Remove the TemplateVM's Applications Menu entry:
|
2017-03-09 11:30:12 -05:00
|
|
|
|
|
|
|
$ sudo rm /etc/xdg/menus/applications-merged/<template-name>*
|