summaryrefslogtreecommitdiff
path: root/src/system
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-01-11 10:34:06 -0600
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-12 16:47:56 +0000
commitb676106dd0926dc72cd959836270e1ffb9f48918 (patch)
tree3fce5c53b3511c3a97c6af8e305db46fa1bd4e0e /src/system
parent387d4727d747306414cb26460e835b3d56e33da0 (diff)
downloadvyos-1x-b676106dd0926dc72cd959836270e1ffb9f48918.tar.gz
vyos-1x-b676106dd0926dc72cd959836270e1ffb9f48918.zip
image-tools: T5910: explicitly set transmission speed of serial console
GRUB defaults to 9600 in case of serial console; explicitly set to 115200. (cherry picked from commit 70122bef58eaa0084695f89c410992f8d7c1f9f6)
Diffstat (limited to 'src/system')
-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)