firstboot: start sys-usb

QubesOS/qubes-issues#704
This commit is contained in:
Marek Marczykowski-Górecki 2015-11-29 04:16:09 +01:00
parent 538d80186d
commit aa8c80cbca
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -159,6 +159,10 @@ class moduleClass(Module):
self.configure_default_template() self.configure_default_template()
self.configure_qubes() self.configure_qubes()
self.configure_network() self.configure_network()
if self.choice_usb.get_selected():
# Workaround for #1464 (so qvm.start from salt can't be used)
self.run_command_in_thread(['systemctl', 'start',
'qubes-vm@sys-usb.service'])
try: try:
self.configure_default_dvm() self.configure_default_dvm()