summaryrefslogtreecommitdiff
path: root/src/system/grub_update.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-01-12 10:10:58 -0600
committerJohn Estabrook <jestabro@vyos.io>2024-01-12 22:45:27 -0600
commit5ceaff2ef970cb9c567ac317bafbffca5b073f4a (patch)
treec3a5bb5b9e7b49a50b22ca07780fd7424e42971c /src/system/grub_update.py
parentfef091bd6dc5c3cdfae47e9adb86f610a75a8a4d (diff)
downloadvyos-1x-5ceaff2ef970cb9c567ac317bafbffca5b073f4a.tar.gz
vyos-1x-5ceaff2ef970cb9c567ac317bafbffca5b073f4a.zip
image-tools: T5923: update system_console.py for new GRUB file structure
Add util function to set serial console speed in accordance with revised GRUB file structure; in keeping with the intentions of the config_mode script, adjust the GRUB var 'console_speed' to only modify ttyS0.
Diffstat (limited to 'src/system/grub_update.py')
-rw-r--r--src/system/grub_update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/grub_update.py b/src/system/grub_update.py
index 4d5e0b6ae..5a7d8eb72 100644
--- a/src/system/grub_update.py
+++ b/src/system/grub_update.py
@@ -69,7 +69,7 @@ if __name__ == '__main__':
'bootmode': default_entry['bootmode'],
'console_type': default_entry['console_type'],
'console_num': default_entry['console_num'],
- 'console_speed': '115200'
+ 'console_speed': default_entry['console_speed']
}
vars.update(default_settings)