I was just wondering if I've successfully removed the HVM Template manually. The process I went through was:
1. Remove template folder from /var/lib/qubes/vm-templates
2. Remove old template reference from VM Manager (or manually from qubes.xml)
3. Remove template's *.desktop files from ~/.local/share/applications
Is there any files I have missed? Also, perhaps a short doc with this would be useful for when things go wrong and a VM needs to be manually removed.
Thanks
The VM Manager allowed me to 'remove' the VM. Because the VM was renamed, as far as I can tell it just removed it from qubes.xml.
On Monday, December 19, 2016 at 5:27:45 PM UTC+10:30, v3g4n wrote:
> I will let someone more knowledgeable on the manual removal process
> answer, but why not just remove it using Qubes VM Manager? Just curious
> about the manual process?
A bug in the VM Manager occured when I went to rename a VM, the VM files were renamed but the VM Manager didn't update it's records and still showed the old name. It leaves a bunch of references to something that no longer exists (in the VM Manager and in the application menu). I haven't succeeded in reproducing this bug, I was renaming a HVM template I had just installed an OS onto and shutdown.
Of course manually removing VMs is not the ideal way to do it, but unfortunately things sometimes go wrong like it did for me.