2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-08-04 08:26:59 +00:00

fix(xcat-server): install tmux on KVM hosts for the serial console

cons/kvm drives the KVM guest serial console through a shared tmux session on
the hypervisor (tmux, unlike screen, is present on every libvirt host we target
incl. ppc64le hosts that ship no screen). The KVM host package lists were never
updated for that switch, so an xCAT-provisioned KVM host got 'screen' (now
unused) -- or nothing -- where tmux is required, leaving rcons broken.

Ship tmux in the KVM host pkglists:
  - install/rh, install/ubuntu: screen -> tmux / add tmux.
  - netboot/{alma,centos,rocky}: were symlinks to the RHEL 5.4 list; make them
    real lists with tmux (the rhel5/6/7 lists keep screen).
  - install/suse: add a KVM host list (SUSE had none) carrying tmux.

screen stays where it is still used: the Xen console, and the EOL rhel5/6/7 and
centos6/7 lists.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
(cherry picked from commit c1db278e1a)
This commit is contained in:
Daniel Hilst
2026-07-11 10:44:25 -03:00
committed by Vinícius Ferrão
parent 28ed4e6331
commit eb30c1d134
6 changed files with 94 additions and 4 deletions
@@ -4,6 +4,6 @@ nfs-utils
sendmail-cf
openssh-server
util-linux
screen
tmux
bridge-utils
dnsmasq
@@ -0,0 +1,8 @@
#Please make sure there is a space between @ and group name
ntp
nfs-client
openssh
util-linux
tmux
bridge-utils
dnsmasq
@@ -8,3 +8,4 @@ libvirt-bin
bridge-utils
libcap2-bin
vlan
tmux
@@ -1 +0,0 @@
../rh/kvm.rhels5.4.pkglist
@@ -0,0 +1,28 @@
bash
postfix
nfs-utils
openssl
dhclient
kernel
openssh-server
openssh-clients
busybox-anaconda
wget
vim-minimal
ntp
sysklogd
rpm
rsync
bridge-utils
dnsmasq
iscsi-initiator-utils
kvm
libvirt.x86_64
perl-Sys-Virt
python-urlgrabber.noarch
python-virtinst
tmux
xnba-kvm
tar
gzip
xz
@@ -1 +0,0 @@
../rh/kvm.rhels5.4.pkglist
@@ -0,0 +1,28 @@
bash
postfix
nfs-utils
openssl
dhclient
kernel
openssh-server
openssh-clients
busybox-anaconda
wget
vim-minimal
ntp
sysklogd
rpm
rsync
bridge-utils
dnsmasq
iscsi-initiator-utils
kvm
libvirt.x86_64
perl-Sys-Virt
python-urlgrabber.noarch
python-virtinst
tmux
xnba-kvm
tar
gzip
xz
@@ -1 +0,0 @@
../rh/kvm.rhels5.4.pkglist
@@ -0,0 +1,28 @@
bash
postfix
nfs-utils
openssl
dhclient
kernel
openssh-server
openssh-clients
busybox-anaconda
wget
vim-minimal
ntp
sysklogd
rpm
rsync
bridge-utils
dnsmasq
iscsi-initiator-utils
kvm
libvirt.x86_64
perl-Sys-Virt
python-urlgrabber.noarch
python-virtinst
tmux
xnba-kvm
tar
gzip
xz