Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Update DomainManager1 to new AdminVM API
Browse files Browse the repository at this point in the history
- Hardcoded check for dom0 networked to False.
  • Loading branch information
kalkin committed Jun 22, 2017
1 parent 26b9a5a commit e964fc1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion qubesdbus/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ def domain_data(vm):

# Additional data
result['state'] = serialize_state(vm.get_power_state())
result['networked'] = serialize_val(vm.is_networked())
if vm.name == 'dom0':
result['networked'] = False
else:
result['networked'] = serialize_val(vm.is_networked())
return result


Expand Down

0 comments on commit e964fc1

Please sign in to comment.