2018-02-06 21:28:37 +01:00
|
|
|
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.
|
|
|
|
|
2019-02-04 19:46:20 +01:00
|
|
|
Index: virt-manager-2.1.0/virtinst/osdict.py
|
2018-02-06 21:28:37 +01:00
|
|
|
===================================================================
|
2019-02-04 19:46:20 +01:00
|
|
|
--- virt-manager-2.1.0.orig/virtinst/osdict.py
|
|
|
|
+++ virt-manager-2.1.0/virtinst/osdict.py
|
|
|
|
@@ -321,7 +321,7 @@ class _OsVariant(object):
|
2018-10-30 23:00:52 +01:00
|
|
|
|
|
|
|
# If no EOL is present, assume EOL if release was > 5 years ago
|
|
|
|
if rel is not None:
|
|
|
|
- rel5 = _glib_to_datetime(rel) + datetime.timedelta(days=365 * 5)
|
|
|
|
+ rel5 = _glib_to_datetime(rel) + datetime.timedelta(days=365 * 10)
|
|
|
|
return now > rel5
|
2018-02-06 21:28:37 +01:00
|
|
|
return False
|
2018-10-30 23:00:52 +01:00
|
|
|
|