Open tlaurion opened 1 year ago
I've noticed that for one of the configurations for Talos (can't remember if it was server or workstation) input given through serial console would result in action on VGA output, but not on serial. Should those outputs be mirrored or are they two separate ttys?
@krystian-hebel as of now for talos server board (whiptail), output is on different tty, not mirrored. Issue you talk about is with workstation (fbwhiptail) which is to be deprecated in favor of a single Talos board, actually repurposing server board config.
Whiptail on different TTY is a plus in our use case, where either one can be used to drive either menu and have TOTP refreshed on either terminal, but if two are used at same time and one goes to recovery, the other one would not know until either going back to main menu and having TOTP secret unable to unseal or when trying to release TPM disk unlock key since measurements would not unseal, going to recovery extending PCR4 and invalidating both sealed secret at unseal operation.
Mirroring would be interesting though. Didn't know it would be possible?
There is currently one issue in dual console boards like qemu.
When prompts of applications are asked, only qemu console (not console having called qemu) shows prompt for pintentry.
Have not had time to look into that but it is annoying when testing.
@JonathonHall-Purism ideas?
Not really sure why the following gives to qemu a non-complete interactive shell on host's console, launching qemu:
On talos II server board having same config, but used over ssh, correcting pseudo-terminal through ssh call:
ssh -t root@talos "obmcutil poweron && obmc-console-client"
Works perfectly and permits us to have a dual whiptail output on both VGA and bmc terminal, accessed through ssh. Note that the problem to get this working was to pass
ssh -t
above.Not sure how to have the same on qemu call so that the
--serial stdio
can offer the same functionality.qemu whiptail board could be really useful in that configuration, since whiptail output would contain trails of console output in addition to TRACE and DEBUG output under /tmp/debug.log