talos icon indicating copy to clipboard operation
talos copied to clipboard

put `talosctl dashboard` on a virtual tty

Open smira opened this issue 3 years ago • 2 comments
trafficstars

Feature Request

After boot Talos should keep console logs on one tty9, and switch tty1 (0?) to display talosctl dashboard with summary view as a default.

Description

  • are we missing any kernel config?
  • how to implement switching between virtual ttys?
  • how to redirect console logs to another tty?

smira avatar Jan 12 '22 17:01 smira

setting up virtual consoles: https://github.com/systemd/systemd/blob/main/src/vconsole/vconsole-setup.c

smira avatar Jan 12 '22 18:01 smira

This should probably only apply to servers with multiple (functional) ttys.

Headless VMs, or SBCs without a GPU should probably only show their console logs on the serial port (which has a too small "screen size" anyways to make the dashboard useful)

flokli avatar Feb 28 '22 19:02 flokli

https://github.com/siderolabs/talos/pull/6879

utkuozdemir avatar Feb 27 '23 15:02 utkuozdemir