anaconda: include default kernel parameters in EFI setup

QubesOS/qubes-issues#794
This commit is contained in:
Marek Marczykowski-Górecki 2015-11-29 03:15:41 +01:00
parent 2da9f7c3ec
commit c83c75b338
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -1780,9 +1780,10 @@ class XenEFI(EFIGRUB):
config.write("\n") config.write("\n")
config.write("[{}]\n".format(image.version)) config.write("[{}]\n".format(image.version))
config.write("options=loglvl=all\n") config.write("options=loglvl=all\n")
config.write("kernel={} root={}\n".format( config.write("kernel={} root={} {}\n".format(
image.kernel, image.kernel,
image.device.fstabSpec)) image.device.fstabSpec,
self.boot_args))
config.write("ramdisk={}\n".format(image.initrd)) config.write("ramdisk={}\n".format(image.initrd))
def write_config_console(self, config): def write_config_console(self, config):