summaryrefslogtreecommitdiff
path: root/smoketest/configs/assert/basic-syslog
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-04-02 07:53:02 +0200
committerChristian Breunig <christian@breunig.cc>2026-04-09 20:54:06 +0200
commit35db941bcf30f3fac5b1358aa1124f34f9808950 (patch)
tree09db740466acd3d42037698ac4bf6d33100a50e4 /smoketest/configs/assert/basic-syslog
parent51922535b79529d603c3b7d52cde9da54c069d42 (diff)
downloadvyos-1x-35db941bcf30f3fac5b1358aa1124f34f9808950.tar.gz
vyos-1x-35db941bcf30f3fac5b1358aa1124f34f9808950.zip
serial: T8375: add CLI option to explicitly set kernel console
Previously, VyOS hardcoded the kernel boot log console to either ttyS0 or tty0, with no post-install CLI method to change it (manual GRUB edits were required). This commit adds a new CLI node: system console device <name> kernel When set, the selected serial console is used as the kernel boot console. When removed, the kernel boot console falls back to tty0.
Diffstat (limited to 'smoketest/configs/assert/basic-syslog')
-rw-r--r--smoketest/configs/assert/basic-syslog1
1 files changed, 1 insertions, 0 deletions
diff --git a/smoketest/configs/assert/basic-syslog b/smoketest/configs/assert/basic-syslog
index a8acc18e9..04c1b0568 100644
--- a/smoketest/configs/assert/basic-syslog
+++ b/smoketest/configs/assert/basic-syslog
@@ -4,6 +4,7 @@ set interfaces ethernet eth1 address '172.16.33.154/24'
set interfaces ethernet eth1 duplex 'auto'
set interfaces ethernet eth1 speed 'auto'
set interfaces ethernet eth1 vrf 'red'
+set system console device ttyS0 kernel
set system console device ttyS0 speed '115200'
set system domain-name 'vyos-ci-test.net'
set system host-name 'vyos'