Improve instructions for uninstalling templates

This commit is contained in:
Andrew David Wong 2021-05-13 06:38:07 -07:00
parent 1a7511fe86
commit db08dee7b9
No known key found for this signature in database
GPG Key ID: 8CE137352A019A17
3 changed files with 11 additions and 13 deletions

View File

@ -111,12 +111,8 @@ The same general procedure may be used to upgrade any template based on the stan
[user@dom0 ~]$ qubes-prefs --set debian-<new>
```
11. (Optional) Remove the old template.
(Make sure to type the name of the old template, not the new one.)
```
[user@dom0 ~]$ sudo dnf remove qubes-template-debian-<old>
```
11. (Optional) [Uninstall the old template.](/doc/templates/#uninstalling)
Make sure that the template you're uninstalling is the old one, not the new one!
## StandaloneVMs

View File

@ -161,12 +161,8 @@ The same general procedure may be used to upgrade any template based on the stan
[user@dom0 ~]$ qubes-prefs --set default_template fedora-<new>
```
10. (Optional) Remove the old template.
(Make sure to type the name of the old template, not the new one.)
```
[user@dom0 ~]$ sudo dnf remove qubes-template-fedora-<old>
```
10. (Optional) [Uninstall the old template.](/doc/templates/#uninstalling)
Make sure that the template you're uninstalling is the old one, not the new one!
## Summary instructions for Fedora Minimal TemplateVMs

View File

@ -110,7 +110,13 @@ Please see [Updating software in TemplateVMs](/doc/software-update-domu/#updatin
## Uninstalling
To uninstall a TemplateVM, execute the following type of command in dom0:
The procedure for uninstalling a TemplateVM depends on how it was created.
If the TemplateVM was originaly created by cloning another TemplateVM, then you can delete it the same way as you would any other qube.
In the Qube Manager, right-click on the TemplateVM and select **Delete qube**.
(If you're not sure, you can safely try this method first to see if it works.)
If, on the other hand, the TemplateVM came pre-installed or was installed by installing a template package in dom0, per the instructions [above](#installing), then you must execute the following type of command in dom0 in order to uninstall it:
$ sudo dnf remove qubes-template-<name>