I want to create a Template qube using qubes command line tools.
DEFAULT_TEMPLATE="$(qubes-prefs default_template)"
qvm-create --class "TemplateVM" --template "$DEFAULT_TEMPLATE" -l orange base-fedora
However when I run the above, I get the following error:
app: Error creating VM: TemplateVM cannot be based on template
The following command successfully creates a template qube but it has no applications and no way to install anything in the qube:
qvm-create --class "TemplateVM" -l orange base-fedora