Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
virt-manager.9957
virtinst-add-caasp-support.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtinst-add-caasp-support.patch of Package virt-manager.9957
References: bsc#1010060 Index: virt-manager-1.5.1/virtinst/urlfetcher.py =================================================================== --- virt-manager-1.5.1.orig/virtinst/urlfetcher.py +++ virt-manager-1.5.1/virtinst/urlfetcher.py @@ -490,6 +490,12 @@ def _distroFromSUSEContent(fetcher, arch dclass = OESDistro if distro_version is None: distro_version = _parse_sle_distribution(distribution) + elif re.match(".*SUSE Container as a Service Platform*", distribution[1]) or \ + re.match(".*SUSE CaaS Platform*", distribution[1]): + dclass = CAASPDistro + if distro_version is None: + dparts = distribution[1].strip().rsplit(' ') + distro_version = ['VERSION', dparts[len(dparts)-1]] elif re.match(".*openSUSE.*", distribution[1]): dclass = OpensuseDistro if distro_version is None: @@ -1076,6 +1082,8 @@ class SuseDistro(Distro): self.os_variant += major_version + 'sp' + sp_version else: self.os_variant += major_version + elif self.os_variant.startswith("caasp"): + self.os_variant = "caasp" + distro_version else: self.os_variant += "9" @@ -1122,6 +1130,11 @@ class SLESDistro(SuseDistro): class SLEDDistro(SuseDistro): urldistro = "sled" + +class CAASPDistro(SuseDistro): + urldistro = "caasp" + + class OESDistro(SuseDistro): urldistro = "oes"
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