Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
cobbler.6193
koan-detect-os_version.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File koan-detect-os_version.dif of Package cobbler.6193
Index: cobbler-2.6.6/koan/virtinstall.py =================================================================== --- cobbler-2.6.6.orig/koan/virtinstall.py +++ cobbler-2.6.6/koan/virtinstall.py @@ -359,6 +359,11 @@ def build_commandline(uri, suse_version_re = re.compile("^(opensuse[0-9]+)\.([0-9]+)$") if suse_version_re.match(os_version): os_version = suse_version_re.match(os_version).groups()[0] + elif os_version == "generic26": + os_version = "sles11" + elif os_version.endswith("generic"): + os_version = os_version.replace("generic", "") + # make sure virt-install knows about our os_version, # otherwise default it to virtio26 or generic26 found = False
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