I have deleted disposible VMs templates

So… I can’t create template VMs now… Am I able to download it from any Qubes repository?

I don’t understand (not for the first time).

If you have deleted the template you used for disposableVMs, you can use
any qube as template for disposableVMs. You may want to create a custom
qube for this purpose.
Just set the property template_for_dispvms, either at command line
with qvm-prefs or in Qube Manager. Then set that as the new
default_dispvm using qubes-prefs or in Manager GUI.

If your problem is that you want a template back that you deleted,
just re-install it using qubes-dom0-update

1 Like

What do you mean by you can’t create template vm?
You can download template by :
fedora :

[user@dom0 ~]$ sudo qubes-dom0-update qubes-template-fedora-33

debian :

[user@dom0 ~]$ sudo qubes-dom0-update qubes-template-debian-10

As for you have deleted DisposableVMs Templates, you can create one based on your TemplateVMs :

[user@dom0 ~]$ qvm-create --template (fedora-33 / debian-10) --label red (fedora-33-dvm / debian-10-dvm)
[user@dom0 ~]$ qvm-prefs (fedora-33-dvm / debian-10-dvm) template_for_dispvms True
[user@dom0 ~]$ qvm-features (fedora-33-dvm / debian-10-dvm) appmenus-dispvm 1

if you want make it as default disposable template :

[user@dom0 ~]$ qubes-prefs default_dispvm (fedora-33-dvm / debian-10-dvm)

*Note: remove parentheses and choose fedora-33 / debian 10.

1 Like

Oh, sorry, my mistake… I mean “I can’t create Disposable VMs now”, not template VMs… I mixed it with my other question (How can I create a template HVM of any OS?) asking how to create a template of any OS.

But my main problem is I have deleted the default Qubes disposable VMs, and since I mainly use the GUI, I don’t know how to recreate it using CLI yet.

Also, I have tried to create a disposable VM using Qube manager, but when I click “create new Qubes VM”, the VM options are:

Qube based on a template (App VM)

Standalone qube copied from a template

Empty standalone qube (install your own OS)

But I’m going to try @unman 's and, @51lieal tips. Thanks guys, and sorry for being annoying
: )

You can create one with code I provide above,


You can do too with qube manager :

1. Create qube 
2. Name and label : Your choice
3. Type : AppVM
4. Template : Your choice
5. Networking : ideally sys-firewall as default.
6. Tick launch settings after creation
7. Go to Advanced Tab
8. Tick Disposable VM Template (located below provides network)

Creating a new disposable template

1 Like

Oh, it was way easier then I thought. Tks dude