summaryrefslogtreecommitdiff
path: root/src/migration-scripts/https/2-to-3
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-11-03 16:36:31 +0100
committerChristian Breunig <christian@breunig.cc>2026-11-03 17:12:15 +0100
commit44d929a1b973d3f4131d25d7f9cd7b69c3cf3514 (patch)
treeb2036529618aa82066ed9256e480feeaee15e16d /src/migration-scripts/https/2-to-3
parent6fe3f483aafe9ac27cd45791dde574f1b4a8b0b7 (diff)
downloadvyos-1x-44d929a1b973d3f4131d25d7f9cd7b69c3cf3514.tar.gz
vyos-1x-44d929a1b973d3f4131d25d7f9cd7b69c3cf3514.zip
serial: T9567: honor booted serial console during 31 -> 32 migration
An installation that still carries a legacy 1.3.x image keeps GRUB in compat mode. The GRUB structure update then rewrites the GRUB vars on every boot, before the config migration runs. The migration relied on these vars to detect a serial boot console and silently skipped setting "system console device ttyS0 kernel" after an upgrade from 1.4. The console code then fell back to tty0, so the next boot lost all serial output. On compat GRUB installs, the migration now uses the console the kernel booted with (the last console= argument). Installs using the current GRUB layout keep reading the GRUB vars, so a one-off console choice from the GRUB boot options menu is not persisted into the config.
Diffstat (limited to 'src/migration-scripts/https/2-to-3')
0 files changed, 0 insertions, 0 deletions