Added the default_user property from the Qube to the qubesdb so it is available when starting X. This is the 1st part of a fix for issue https://github.com/QubesOS/qubes-issues/issues/2372
This commit is contained in:
parent
9b5256f002
commit
1c3b412ef8
@ -1798,6 +1798,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
|
|||||||
|
|
||||||
self.untrusted_qdb.write('/name', self.name)
|
self.untrusted_qdb.write('/name', self.name)
|
||||||
self.untrusted_qdb.write('/type', self.__class__.__name__)
|
self.untrusted_qdb.write('/type', self.__class__.__name__)
|
||||||
|
self.untrusted_qdb.write('/default_user', self.default_user)
|
||||||
self.untrusted_qdb.write('/qubes-vm-updateable', str(self.updateable))
|
self.untrusted_qdb.write('/qubes-vm-updateable', str(self.updateable))
|
||||||
self.untrusted_qdb.write('/qubes-vm-persistence',
|
self.untrusted_qdb.write('/qubes-vm-persistence',
|
||||||
'full' if self.updateable else 'rw-only')
|
'full' if self.updateable else 'rw-only')
|
||||||
|
Loading…
Reference in New Issue
Block a user