summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2012-10-24 19:12:19 (GMT)
committerCole Robinson <crobinso@redhat.com>2012-10-24 19:23:30 (GMT)
commit8f6b1f977b01a0b9057a4ade6813f41650887fc8 (patch)
tree1ea1bf6d5e30273896e91316838bf1ec25e048f2
parenta142560df55a454f0fe6363aab4775a948c24965 (diff)
downloadvirt-manager-8f6b1f977b01a0b9057a4ade6813f41650887fc8.zip
virt-manager-8f6b1f977b01a0b9057a4ade6813f41650887fc8.tar.gz
virt-manager-8f6b1f977b01a0b9057a4ade6813f41650887fc8.tar.xz
create: Sort OS types, so linux is at the top
-rw-r--r--src/virtManager/create.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/virtManager/create.py b/src/virtManager/create.py
index 94ec52d..ee4665e 100644
--- a/src/virtManager/create.py
+++ b/src/virtManager/create.py
@@ -778,7 +778,9 @@ class vmmCreate(vmmGObjectUI):
filtervars = (not self._rhel6_defaults() and
RHEL6_OS_SUPPORT or
None)
+
types = virtinst.FullVirtGuest.list_os_types()
+ types.sort()
supportl = virtinst.FullVirtGuest.list_os_types(supported=True,
filtervars=filtervars)