summaryrefslogtreecommitdiff
path: root/src/system/grub_update.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-01-11 10:34:06 -0600
committerJohn Estabrook <jestabro@vyos.io>2024-01-11 13:52:21 -0600
commit70122bef58eaa0084695f89c410992f8d7c1f9f6 (patch)
tree98f72941995a2a378e4376b6380ece5dc7444e51 /src/system/grub_update.py
parentebf8c8d750357122023a0c96b41072065f755c2e (diff)
downloadvyos-1x-70122bef58eaa0084695f89c410992f8d7c1f9f6.tar.gz
vyos-1x-70122bef58eaa0084695f89c410992f8d7c1f9f6.zip
image-tools: T5910: explicitly set transmission speed of serial console
GRUB defaults to 9600 in case of serial console; explicitly set to 115200.
Diffstat (limited to 'src/system/grub_update.py')
-rw-r--r--src/system/grub_update.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/system/grub_update.py b/src/system/grub_update.py
index 3c851f0e0..4d5e0b6ae 100644
--- a/src/system/grub_update.py
+++ b/src/system/grub_update.py
@@ -68,7 +68,8 @@ if __name__ == '__main__':
'default': grub.gen_version_uuid(default_entry['version']),
'bootmode': default_entry['bootmode'],
'console_type': default_entry['console_type'],
- 'console_num': default_entry['console_num']
+ 'console_num': default_entry['console_num'],
+ 'console_speed': '115200'
}
vars.update(default_settings)