From 5c84f9f37c2f88e9110f4dea87c59a405403751a Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Wed, 24 Oct 2012 15:20:56 -0400 Subject: [PATCH] create: Only show linux + windows OS options by default --- src/virtManager/create.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/virtManager/create.py b/src/virtManager/create.py index ed91ba3f1..0a3ee1193 100644 --- a/src/virtManager/create.py +++ b/src/virtManager/create.py @@ -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)