mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-10-01 01:25:40 -04:00
bd2af3cead
Removing a template requires 'rm -rf'
27 lines
604 B
Markdown
27 lines
604 B
Markdown
---
|
|
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 -rf /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>*
|
|
|