mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-07-31 18:19:40 +00:00
e331290414
cons/kvm ran `ssh -t <vmhost> screen ... <pty>`, which requires screen on every hypervisor. Bare libvirt hosts (notably ppc64le power servers) ship tmux but not screen, so goconserver's console fork failed and no console was captured. Use tmux (present on all our libvirt hosts) for the shared detach/reattach session, wrapping `virsh console` keyed on the domain name (== the xCAT node name for KVM) -- stable across guest reboots, unlike the raw serial pty. The session status bar is disabled so the captured console log stays clean serial. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>