Commit f02c7576 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Simplify grub serial setup

parent 7c3619e6
......@@ -93,8 +93,9 @@ class SysGrub:
# If this is a serial port add additional options
if is_serial:
conf_file_new.write('# START - Serial Console\n')
conf_file_new.write('GRUB_TERMINAL=serial\n')
conf_file_new.write('GRUB_SERIAL_COMMAND="serial --unit=%s --speed=%s --word=8 --parity=no --stop=1"\n' %
conf_file_new.write('GRUB_TERMINAL_INPUT=serial\n')
conf_file_new.write('GRUB_TERMINAL_OUTPUT=serial\n')
conf_file_new.write('GRUB_SERIAL_COMMAND="serial --unit=%s --speed=%s"\n' %
(is_serial['unit'], is_serial['speed']))
conf_file_new.write('# END - Serial Console\n')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment