quboid
January 9, 2023, 8:35am
1
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:
Open debian-11-dvm-template settings
Open the Advanced tab
Check “Disposable Template”
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
quboid
January 9, 2023, 9:08am
3
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
BEBF738VD:
NOTE: Dvm templates are AppVMs, not TemplateVMs, so judging from the screenshot you provided, you may have to recreate it.
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
quboid
January 9, 2023, 9:42am
5
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