Commit 3bbe26d9 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

We don't need to take extra options into account for serial consoles

parent 1dd51e17
......@@ -52,7 +52,7 @@ class SysGrub:
options = line.split()
# For now we only support *n8 speed on the first serial port...
for option in options:
matches = re.match(r'^console=ttyS(?P<unit>[0-9]),(?P<speed>[0-9]+)n8', option)
matches = re.match(r'^console=ttyS(?P<unit>[0-9]),(?P<speed>[0-9]+)', option)
if matches:
is_serial['unit'] ='unit')
is_serial['speed'] ='speed')
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