[virt-tools-list] [PATCH virt-manager] create: show correctly the list of supported OS

Giuseppe Scrivano gscrivan at redhat.com
Thu Jan 23 16:09:56 UTC 2014


Do not show only the OS supported stable when stable_defaults is not
used.  commit dc0b9bbaafa98498f5621a2c318a43fdfe1fa7ff introduced this
issue.

Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
---
 virtManager/create.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtManager/create.py b/virtManager/create.py
index 8c4197f..ef75089 100644
--- a/virtManager/create.py
+++ b/virtManager/create.py
@@ -879,7 +879,7 @@ class vmmCreate(vmmGObjectUI):
             self._add_os_row(model, None, _("Generic"), True)
             return
 
-        filtervars = (not self._stable_defaults() and
+        filtervars = (self._stable_defaults() and
                       STABLE_OS_SUPPORT or
                       None)
         preferred = self.config.preferred_distros
-- 
1.8.4.2




More information about the virt-tools-list mailing list