Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
cobbler
remove-kopts-string-replaces.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File remove-kopts-string-replaces.diff of Package cobbler
Index: cobbler-2.6.6/cobbler/pxegen.py =================================================================== --- cobbler-2.6.6.orig/cobbler/pxegen.py 2019-05-06 17:34:57.109368205 +0200 +++ cobbler-2.6.6/cobbler/pxegen.py 2019-05-06 17:36:01.365848381 +0200 @@ -898,9 +898,6 @@ append_line = append_line.replace('ksdevice=bootif','ksdevice=${net0/mac}') elif distro.breed == "suse": append_line = "%s autoyast=%s" % (append_line, kickstart_path) - - # rework kernel options for suse distro - append_line = append_line.replace("text","textmode=1") elif distro.breed == "debian" or distro.breed == "ubuntu": append_line = "%s auto-install/enable=true priority=critical url=%s" % (append_line, kickstart_path) if management_interface: Index: cobbler-2.6.6/cobbler/action_buildiso.py =================================================================== --- cobbler-2.6.6.orig/cobbler/action_buildiso.py 2019-05-06 17:33:46.688842061 +0200 +++ cobbler-2.6.6/cobbler/action_buildiso.py 2019-05-06 17:34:13.809044676 +0200 @@ -201,8 +201,6 @@ if data.has_key("proxy") and data["proxy"] != "": append_line += " mirror/http/proxy=%s" % data["proxy"] append_line += self.add_remaining_kopts(data["kernel_options"]) - if dist.breed == "suse": - append_line = append_line.replace("text","textmode=1") cfg.write(append_line) cfg.write("\nMENU SEPARATOR\n") @@ -422,8 +420,6 @@ # add remaining kernel_options to append_line append_line += self.add_remaining_kopts(data["kernel_options"]) - if dist.breed == "suse": - append_line = append_line.replace("text","textmode=1") cfg.write(append_line) cfg.write("\n") @@ -494,8 +490,6 @@ # add remaining kernel_options to append_line append_line += self.add_remaining_kopts(data["kernel_options"]) - if distro.breed == "suse": - append_line = append_line.replace("text","textmode=1") cfg.write(append_line) if descendant.COLLECTION_TYPE == 'profile':
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