diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-01-12 15:48:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-12 15:48:11 +0000 |
commit | 4df792f23ea229eb43dbbdb29088354519ef9596 (patch) | |
tree | 5ef774412ab5eab8c9f152a703c1d476423d5c78 /src | |
parent | bc3cf0a0a18ad70448322f90bdb6bf8292b59ccf (diff) | |
parent | 70122bef58eaa0084695f89c410992f8d7c1f9f6 (diff) | |
download | vyos-1x-4df792f23ea229eb43dbbdb29088354519ef9596.tar.gz vyos-1x-4df792f23ea229eb43dbbdb29088354519ef9596.zip |
Merge pull request #2806 from jestabro/serial-console
image-tools: T5910: explicitly set transmission speed of serial console
Diffstat (limited to 'src')
-rwxr-xr-x | src/op_mode/image_installer.py | 1 | ||||
-rw-r--r-- | src/system/grub_update.py | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/op_mode/image_installer.py b/src/op_mode/image_installer.py index 791d76718..fad6face7 100755 --- a/src/op_mode/image_installer.py +++ b/src/op_mode/image_installer.py @@ -93,6 +93,7 @@ DEFAULT_BOOT_VARS: dict[str, str] = { 'timeout': '5', 'console_type': 'tty', 'console_num': '0', + 'console_speed': '115200', 'bootmode': 'normal' } 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) |