Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
virt-manager
virtinst-add-sle-hpc-support.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtinst-add-sle-hpc-support.patch of Package virt-manager
References: bsc#1190215 Index: virt-manager-3.3.0/virtinst/install/urldetect.py =================================================================== --- virt-manager-3.3.0.orig/virtinst/install/urldetect.py +++ virt-manager-3.3.0/virtinst/install/urldetect.py @@ -274,12 +274,17 @@ class _SUSEContent(object): if "Enterprise" in self.product_name or "SLES" in self.product_name: if " SAP " in self.product_name: sle_version = self.product_name.strip().rsplit(' ')[7] + if " High Performance " in self.product_name: + sle_version = self.product_name.strip().rsplit(' ')[6] else: sle_version = self.product_name.strip().rsplit(' ')[4] if len(self.product_name.strip().rsplit(' ')) > 5 and not " Micro " in self.product_name: if " SAP " in self.product_name: sle_version = (sle_version + '.' + self.product_name.strip().rsplit(' ')[8][2]) + if " High Performance " in self.product_name: + sle_version = (sle_version + '.' + + self.product_name.strip().rsplit(' ')[7][2]) else: sle_version = (sle_version + '.' + self.product_name.strip().rsplit(' ')[5][2]) @@ -671,6 +676,14 @@ class _SLESDistro(_SuseDistro): famregex = ".*SUSE Linux Enterprise.*" +class _SLEHPCDistro(_SuseDistro): + PRETTY_NAME = "SLE-HPC" + matching_distros = ["sle-hpc"] + _variant_prefix = "sles" + _suse_regex = [".*SUSE Linux Enterprise High Performance Computing*", ".*SUSE SLE-HPC*", ".*SUSE SLE_HPC*"] + famregex = ".*SUSE Linux Enterprise.*" + + class _SLEDDistro(_SuseDistro): PRETTY_NAME = "SLED" matching_distros = ["sled"] @@ -939,6 +952,7 @@ def _build_distro_list(osobj): _CentOSDistro, _SLEDistro, _SLESDistro, + _SLEHPCDistro, _SLEDDistro, _OpensuseDistro, _MICRODistro,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor