On Sun, Jul 02, 2017 at 01:08:44AM +0200, 'P R' via qubes-users wrote:
> Hello,
> 
> I have spend several hours to built new Template VMs from scratch (more
> precise: the fedora-24-minimal templates).
> 
> Now I have the problem, that my new disposable VMs all start without an
> attaches Net-VM.
> 
> sys-usb, sys-firewall, sys-net are now all based on the fedora-24-minimal
> template, with some additional packages, as suggested in the documentation.
> 
> I have also built a new dvm which is based on the fedora-24 template:
> 
> My default fedora-24 template is named "my-fedora-24-apps" and is a Template
> VM without a NetVM attached.
> 
> I created a new dvm in dom0:
> 
> [user@dom0 ~] qvm-create-default-dvm my-fedora-24-apps
> 
> In preferences of the new dvm template which is named
> "my-fedora-24-apps-dvm" I have attached  the firewall Proxy VM as NetVM.
> 
> But when I launch a program in the disposable VM there is no Net-VM
> attached.
> I have also set the "NetVM for DispVM" unter "Other" in the "Advanced"
> Settings Tab of Qubes Manager for the dvm template to sys-firewall.
> 
> Still all my disposable AppVM start with an empty NetVM.
> If I edit a disposable App VM and add the sys-firewall as NetVM, everything
> works fine.
> 
> 
> QUESTION:
> Where and how am I supposed to set the correct information which NetVM
> should be used for my DVMs?
> 
> - P R

The "netVM for dispVM" entry sets the netVM for disposableVMs started
from that qube.

You haven't said HOW you are "launching a program".
If you start it from the Qubes Menu then it will (should) honour the
setting for the dvmTemplate, and so in your case start a disposableVM
attached to the firewall.
If you are starting a disposableVM from a qube (by e.g "open in
disposable VM") then THAT disposableVM will be connected to whatever the
entry for "NetVM for dispVM" says for that qube.

I find it easier to check from dom0 terminal, using qvm-prefs <qube>,
and to set the relevant values using 'qvm-prefs <qube> -s dispvm_netvm <proxy>'

unman

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20170702011901.gi4szxkgdes3tqex%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to