qvm-prefs: fix setting dispvm_netvm to none

Fixes QubesOS/qubes-issues#1272
This commit is contained in:
Marek Marczykowski-Górecki 2015-10-05 05:53:04 +02:00
parent 16b8fa011b
commit 7be7cf2c5e
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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