qvm-create-default-dvm was removed in Qubes OS 4, so what's the new way to create DVM Templates (https://www.qubes-os.org/doc/glossary/)?
I would like to install something in a TemplateVM, configure it in a DVM Template, and run it in a disposable VM.
Thanks!
Here's how I tried to create a DVM Template:
qvm-create --template debian-8 --label green --property template_for_dispvms=True --class AppVM my-dvm
I compared `qvm-prefs my-dvm` with `qvm-prefs fedora-25-dvm`. They look similar.
I see that I can launch a disposable VM from the command line:
qvm-run --dispvm=my-dvm xterm
What I don't understand is that my-dvm shows up as "Domain: my-dvm" in the Applications menu, and fedora-25-dvm shows up as "Disposable: fedora-25-dvm". How do I get my-dvm to show up as Disposable, so that launching applications from it automatically creates disposable VMs?
Also, my-dvm doesn't show up as an option for Default DispVM in VM Settings.
https://github.com/QubesOS/qubes-issues/issues/1339#issuecomment-338813581 looked promising.
Unfortunately, `qvm-features my-dvm appmenus 1` did not help, even after restarting the computer.
> Also, my-dvm doesn't show up as an option for Default DispVM in VM Settings.
Still don't know how to solve this.
To clarify: it's `qvm-features my-dvm appmenus-dispvm 1`, but it also doesn't work.
Also, note that `qvm-features fedora-25-dvm` returns the same thing as `qvm-features my-dvm`:
appmenus-dispvm 1
I think by clicking "Refresh Applications" in my-dvm's VM Settings, I was able to get my-dvm to show up as "Disposable: my-dvm".
However, launching applications from the menu does not launch disposable VMs, which means I must be missing something else. Not sure what.
Never mind...
I guess I needed to let something sync in the background, or something.
I'm now able to launch disposable VMs from the Applications menu using my-dvm.
I still have one outstanding issue, though: how can I set my-dvm's Default DispVM to my-dvm? my-dvm doesn't show up as an option in the menu. My options are:
default (fedora-25-dvm) (current)
disp<1>
disp<2>
disp<3>
disp<4>
disp<5>
(none)