[Q4.2] [default DVM]

14 views
Skip to first unread message

haaber

unread,
Nov 2, 2024, 5:38:16 AM11/2/24
to qubes-users
Hi, could someone kindly explain me how to  change the template of the
default dvm (or similarly, add a second one). I tried several
explanations online, but  none worked. I prefer to understand the
procedure via dom0 terminal commands, but if you have a "click you
through" solution, I take it as well. Cheers, Bernhard

David Hobach

unread,
Nov 2, 2024, 9:36:02 AM11/2/24
to qubes-users
Hi,

you can use qvm-prefs [vm] template [new template].

BR
David
OpenPGP_0x08DEA51AE90C3780.asc
OpenPGP_signature.asc

haaber

unread,
Nov 2, 2024, 10:30:27 AM11/2/24
to qubes...@googlegroups.com
Hi

On 11/2/24 14:35, David Hobach wrote:
> Hi, could someone kindly explain me how to  change the template of the
>> default dvm (or similarly, add a second one). I tried several
>> explanations online, but  none worked. I prefer to understand the
>> procedure via dom0 terminal commands, but if you have a "click you
>> through" solution, I take it as well. Cheers, Bernhard
>
> Hi,
>
> you can use qvm-prefs [vm] template [new template].
>
Say that I have a template called debian-12 and I run

    qvm-prefs denian-12 template debian-12-dvm

That gives

   usage: qvm-prefs [--verbose] [--quiet] [--help] [--help-properties]
[--hide-default] [--get] [--set]

    [--default] VMNAME [PROPERTY] [VALUE]

    qvm-prefs: error: no such property: 'template'

That is where I was stuck with the manual ....  best, Bernhard

David Hobach

unread,
Nov 2, 2024, 10:47:56 AM11/2/24
to haaber, qubes...@googlegroups.com
It's probably the other way around:

qvm-prefs debian-12-dvm template debian-12
OpenPGP_0x08DEA51AE90C3780.asc
OpenPGP_signature.asc

haaber

unread,
Nov 2, 2024, 1:30:37 PM11/2/24
to qubes...@googlegroups.com

On 11/2/24 15:47, David Hobach wrote:
> Hi, could someone kindly explain me how to  change the template of the
>>>> default dvm (or similarly, add a second one). I tried several
>>>> explanations online, but  none worked. I prefer to understand the
>>>> procedure via dom0 terminal commands, but if you have a "click you
>>>> through" solution, I take it as well. Cheers, Bernhard
>>>
>>> Hi,
>>>
>>> you can use qvm-prefs [vm] template [new template].
>>>
>> It's probably the other way around:
>
> qvm-prefs debian-12-dvm template debian-12
>
alright, this works (after shutting down all instances of the dvm)

qvm-prefs  default-dvm template debian-12

thank you.  Bernhard
Reply all
Reply to author
Forward
0 new messages