qvm-prefs: fix setting dispvm_netvm to none
Fixes QubesOS/qubes-issues#1272
This commit is contained in:
parent
16b8fa011b
commit
7be7cf2c5e
@ -268,7 +268,7 @@ def set_dispvm_netvm(vms, vm, args):
|
||||
|
||||
netvm = args[0]
|
||||
if netvm == "none":
|
||||
vm.netvm = None
|
||||
vm.dispvm_netvm = None
|
||||
vm.uses_default_dispvm_netvm = False
|
||||
elif netvm == "default":
|
||||
vm.uses_default_dispvm_netvm = True
|
||||
|
Loading…
Reference in New Issue
Block a user