From db08dee7b995fb92118e6d1cf18ba57ad880412b Mon Sep 17 00:00:00 2001 From: Andrew David Wong Date: Thu, 13 May 2021 06:38:07 -0700 Subject: [PATCH] Improve instructions for uninstalling templates --- user/managing-os/debian/debian-upgrade.md | 8 ++------ user/managing-os/fedora/fedora-upgrade.md | 8 ++------ user/managing-os/templates.md | 8 +++++++- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/user/managing-os/debian/debian-upgrade.md b/user/managing-os/debian/debian-upgrade.md index dc4ef294..04fdb7b1 100644 --- a/user/managing-os/debian/debian-upgrade.md +++ b/user/managing-os/debian/debian-upgrade.md @@ -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- ``` -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- - ``` +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 diff --git a/user/managing-os/fedora/fedora-upgrade.md b/user/managing-os/fedora/fedora-upgrade.md index ca3fd8a1..209a9519 100644 --- a/user/managing-os/fedora/fedora-upgrade.md +++ b/user/managing-os/fedora/fedora-upgrade.md @@ -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- ``` -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- - ``` +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 diff --git a/user/managing-os/templates.md b/user/managing-os/templates.md index fc46daec..990bd9cd 100644 --- a/user/managing-os/templates.md +++ b/user/managing-os/templates.md @@ -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-