create: Only show linux + windows OS options by default

This commit is contained in:
Cole Robinson 2012-10-24 15:20:56 -04:00
parent 2eb2397527
commit 5c84f9f37c

View File

@ -783,6 +783,10 @@ class vmmCreate(vmmGObjectUI):
types.sort()
supportl = virtinst.FullVirtGuest.list_os_types(supported=True,
filtervars=filtervars)
if not filtervars:
# Kind of a hack, just show linux + windows by default since
# that's all 98% of people care about
supportl = ["linux", "windows"]
self._add_os_row(model, None, _("Generic"), True)