qubesdb: add qubes-mac path entry

This commit is contained in:
Frédéric Pierret (fepitre) 2019-05-16 17:23:47 +02:00
parent 33bf3d4506
commit 06ec862be4
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

View File

@ -2077,6 +2077,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
self.untrusted_qdb.write('/qubes-netvm-{}-dns'.format(i), addr)
if self.netvm is not None:
self.untrusted_qdb.write('/qubes-mac', str(self.mac))
self.untrusted_qdb.write('/qubes-ip', str(self.visible_ip))
self.untrusted_qdb.write('/qubes-netmask',
str(self.visible_netmask))