File virtinst-osdict-get_supported.patch of Package virt-manager.7890

Some distros are out of support for normal customers but continue
to be supported through LTSS contracts for others. Hence the EOL
date in the osinfo-db file may be past but we want the distro to
continue to show up in the list.

Index: virt-manager-1.4.3/virtinst/osdict.py
===================================================================
--- virt-manager-1.4.3.orig/virtinst/osdict.py
+++ virt-manager-1.4.3/virtinst/osdict.py
@@ -376,8 +376,11 @@ class _OsVariant(object):
         # EOL date. So assume None == EOL, add some manual work arounds.
         # We should fix this in a new libosinfo version, and then drop
         # this hack
+        # SUSE: How to handle EOL distros that still have LTSS support
         if self._is_related_to(["fedora24", "rhel7.0", "debian6",
-            "ubuntu13.04", "win8", "win2k12", "mageia5", "centos7.0"],
+            "ubuntu13.04", "win8", "win2k12", "mageia5", "centos7.0",
+            "sles15", "sles12sp3", "sles12sp2", "sles12sp1", "sles11sp4",
+            "tumbleweed", "opensuse15", "opensuse42.3" ],
             check_clones=False, check_derives=False):
             return True
         return False
openSUSE Build Service is sponsored by