diff options
| author | tv <tv@krebsco.de> | 2026-11-16 03:09:42 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 03:09:42 +0000 |
| commit | 2be134b0b5e7173573c64bac49c880276bcb3d59 (patch) | |
| tree | ab652dbf6111d92361e84f9b1872eff0b4a34bf4 /egress.lua | |
| parent | f2b536e9d5adf5114025d69a68dfbadd1f8fff01 (diff) | |
pass the terminal size on the kernel command line
When starting the serial getty, systemd asks the terminal for its size
via ANSI sequences and waits up to 333ms for an answer (see
CONSOLE_ANSI_SEQUENCE_TIMEOUT_USEC in src/basic/terminal-util.c). The
journal shows the serial login completing ~0.4s after the getty started,
while the getty on tty1 took 0.08s.
systemd skips the query if systemd.tty.rows.ttyS0 and
systemd.tty.columns.ttyS0 are on the kernel command line, so take them
from the terminal run-firecracker-vm is started from. This also gives
the guest the right terminal size.
Diffstat (limited to 'egress.lua')
0 files changed, 0 insertions, 0 deletions
