qubes-anaconda-addon: enable USB VM by default and drop 'experimental'

Fixes QubesOS/qubes-issues#2665
This commit is contained in:
Marek Marczykowski-Górecki 2017-06-14 05:04:34 +02:00
parent d8d9ac96ac
commit 4f8e2227e5
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -264,8 +264,7 @@ class QubesOsSpoke(FirstbootOnlySpokeMixIn, NormalSpoke):
if not usb_keyboard_present() and not started_from_usb(): if not usb_keyboard_present() and not started_from_usb():
self.choice_usb = QubesChoice( self.choice_usb = QubesChoice(
_('Create USB qube holding all USB controllers (sys-usb) ' _('Create USB qube holding all USB controllers (sys-usb)'),
'[experimental]'),
('qvm.sys-usb',)) ('qvm.sys-usb',))
else: else:
self.choice_usb = DisabledChoice( self.choice_usb = DisabledChoice(
@ -294,6 +293,8 @@ class QubesOsSpoke(FirstbootOnlySpokeMixIn, NormalSpoke):
self.choice_default.widget.set_active(True) self.choice_default.widget.set_active(True)
if self.choice_whonix.widget.get_sensitive(): if self.choice_whonix.widget.get_sensitive():
self.choice_whonix.widget.set_active(True) self.choice_whonix.widget.set_active(True)
if self.choice_usb.widget.get_sensitive():
self.choice_usb.widget.set_active(True)
def initialize(self): def initialize(self):
""" """