mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-25 23:21:45 +03:00
create: Only show linux + windows OS options by default
This commit is contained in:
parent
2eb2397527
commit
5c84f9f37c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user