firstboot: set 'sys-net' as ClockVM

Fixes QubesOS/qubes-issues#1741
This commit is contained in:
Marek Marczykowski-Górecki 2016-02-11 12:30:08 +01:00
parent 68d25130ab
commit 27063bd284
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -340,6 +340,8 @@ class moduleClass(Module):
default_netvm]) default_netvm])
self.run_command(['/usr/bin/qubes-prefs', '--set', 'updatevm', self.run_command(['/usr/bin/qubes-prefs', '--set', 'updatevm',
default_netvm]) default_netvm])
self.run_command(['/usr/bin/qubes-prefs', '--set', 'clockvm',
'sys-net'])
self.run_command(['/usr/sbin/service', 'qubes-netvm', 'start']) self.run_command(['/usr/sbin/service', 'qubes-netvm', 'start'])
def do_configure_template(self, template): def do_configure_template(self, template):