a7968aece0
virtinst-s390x-disable-graphics.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=261
18 lines
899 B
Diff
18 lines
899 B
Diff
Enhancement to correctly detect Open Enterprise Server media is
|
|
selected as the installation source.
|
|
Index: virt-manager-1.2.1/virtinst/urlfetcher.py
|
|
===================================================================
|
|
--- virt-manager-1.2.1.orig/virtinst/urlfetcher.py
|
|
+++ virt-manager-1.2.1/virtinst/urlfetcher.py
|
|
@@ -383,6 +383,10 @@ def _distroFromSUSEContent(fetcher, arch
|
|
dclass = SLEDDistro
|
|
if distro_version is None:
|
|
distro_version = ['VERSION', distribution[1].strip().rsplit(' ')[4]]
|
|
+ elif re.match(".*Open Enterprise Server*", distribution[1]):
|
|
+ dclass = SLESDistro
|
|
+ if distro_version is None:
|
|
+ distro_version = ['VERSION', distribution[1].strip().rsplit(' ')[4]]
|
|
elif re.match(".*openSUSE.*", distribution[1]):
|
|
dclass = OpensuseDistro
|
|
if distro_version is None:
|