[PATCH] write_config_console function for extlinux to write out serial console boot arguments bz#974643
Dennis Gilmore
dennis at ausil.us
Tue Jun 18 18:08:41 UTC 2013
Signed-off-by: Dennis Gilmore <dennis at ausil.us>
---
pyanaconda/bootloader.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index e037482..bb0775f 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -2137,7 +2137,17 @@ class EXTLINUX(BootLoader):
return prefix
+ def write_config_console(self, config):
+ if not self.console:
+ return
+
+ console_arg = "console=%s" % self.console
+ if self.console_options:
+ console_arg += ",%s" % self.console_options
+ self.boot_args.add(console_arg)
+
def write_config_images(self, config):
+ self.write_config_console(config)
for image in self.images:
args = Arguments()
args.add("root=%s" % image.device.fstabSpec)
--
1.8.2.1
More information about the anaconda-patches
mailing list