2015-06-08 14:36:45 +02:00
|
|
|
Enhancement to correctly detect Open Enterprise Server media is
|
|
|
|
selected as the installation source.
|
2022-03-03 05:17:21 +01:00
|
|
|
Index: virt-manager-3.3.0/virtinst/install/urldetect.py
|
2015-06-08 14:36:45 +02:00
|
|
|
===================================================================
|
2022-03-03 05:17:21 +01:00
|
|
|
--- virt-manager-3.3.0.orig/virtinst/install/urldetect.py
|
|
|
|
+++ virt-manager-3.3.0/virtinst/install/urldetect.py
|
|
|
|
@@ -564,7 +564,7 @@ class _SuseDistro(_RHELDistro):
|
2020-09-16 19:23:41 +02:00
|
|
|
|
|
|
|
version = distro_version.split('.', 1)[0].strip()
|
2018-10-30 23:00:52 +01:00
|
|
|
|
|
|
|
- if str(self._variant_prefix).startswith(("sles", "sled")):
|
|
|
|
+ if str(self._variant_prefix).startswith(("sles", "sled", "oes")):
|
|
|
|
sp_version = ""
|
|
|
|
if len(distro_version.split('.', 1)) == 2:
|
|
|
|
sp_version = 'sp' + distro_version.split('.', 1)[1].strip()
|
2022-03-03 05:17:21 +01:00
|
|
|
@@ -633,6 +633,14 @@ class _OpensuseDistro(_SuseDistro):
|
2018-10-30 23:00:52 +01:00
|
|
|
famregex = ".*openSUSE.*"
|
2017-08-30 00:10:15 +02:00
|
|
|
|
|
|
|
|
2019-02-04 19:46:20 +01:00
|
|
|
+class _OESDistro(_SuseDistro):
|
2018-10-30 23:00:52 +01:00
|
|
|
+ PRETTY_NAME = "OES"
|
2019-02-04 19:46:20 +01:00
|
|
|
+ matching_distros = ["oes"]
|
2018-10-30 23:00:52 +01:00
|
|
|
+ _variant_prefix = "oes"
|
|
|
|
+ _suse_regex = [".*Open Enterprise Server*"]
|
|
|
|
+ famregex = ".*Open Enterprise Server.*"
|
2017-08-30 00:10:15 +02:00
|
|
|
+
|
2018-10-30 23:00:52 +01:00
|
|
|
+
|
2019-02-04 19:46:20 +01:00
|
|
|
class _DebianDistro(_DistroTree):
|
2018-10-30 23:00:52 +01:00
|
|
|
# ex. http://ftp.egr.msu.edu/debian/dists/sarge/main/installer-i386/
|
|
|
|
# daily builds: https://d-i.debian.org/daily-images/amd64/
|
2022-03-03 05:17:21 +01:00
|
|
|
@@ -862,6 +870,7 @@ def _build_distro_list(osobj):
|
2019-07-29 21:36:33 +02:00
|
|
|
_SLESDistro,
|
|
|
|
_SLEDDistro,
|
|
|
|
_OpensuseDistro,
|
|
|
|
+ _OESDistro,
|
|
|
|
_DebianDistro,
|
|
|
|
_UbuntuDistro,
|
|
|
|
_MageiaDistro,
|