qubes-doc/troubleshooting/remove-vm-manually.md
Andrew David Wong f8b006ae5d
Add section on installing, uninstalling, and reinstalling templates
Also includes other miscellaneous fixes and improvements
2018-06-12 21:50:03 -05:00

891 B

layout title permalink
doc How to Remove VMs Manually /doc/remove-vm-manually/

How to Remove VMs Manually

How to Remove a TemplateVM Manually (R3.2)

Try the normal method before resorting to this one. All of the following 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>*
    
  4. Remove the TemplateVM's Applications Menu entry:

    $ sudo rm /etc/xdg/menus/applications-merged/<template-name>*