Problem with creating debian-11-dvm

I want to create a debian 11 disposable vm, but Im not able to.
I have a debian-11 template and Ive create a dedicated disposable vm template.

Yet, when I use GUI VM creation mechanism I can find NO debian-11 template in appropritate drop down list.

From GUI:

  1. Open debian-11-dvm-template settings
  2. Open the Advanced tab
  3. Check “Disposable Template”
  4. Confirm with OK

From terminal:

$ qvm-prefs debian-11-dvm-template template_for_dispvms True

NOTE: Dvm templates are AppVMs, not TemplateVMs, so judging from the screenshot you provided, you may have to recreate it.

2 Likes

Thanks for answering so quickly, but unfortunatly command that you recommended returns:

usage: qvm-prefs [--verbose] [--quiet] [--help] [--help-properties] [--hide-default] [--get] [--set] [--default] VMNAME [PROPERTY] [VALUE]
qvm-prefs: error: no such property: 'template_for_dispvms'

And clicking the checkbox in GUI results in error:

ERROR: Advanced tab:
Invalid property 'template_for_dispvms' of debian-11-dvm-template

The error you see occurs because of the above. You created an actual TemplateVM which does not support the template_for_dispvms property. Delete it and recreate it as an AppVM.

1 Like

Interesting fact:

[user@dom0 usr]$ qvm-create --class TemplateVM --prop template_for_dispvms=True -t debian-11 --label black debian-11-dvm-template
app: Error creating VM: TemplateVM cannot be based on template

Fails,

While creation of templateVM from another templateVM in GUI succeeds

Garbage was here