xcat2 / xcat-core

Code repo for xCAT core packages
Eclipse Public License 1.0
360 stars 171 forks source link

GRUB_CMDLINE_LINUX missing console=tty0 #6996

Open kcgthb opened 3 years ago

kcgthb commented 3 years ago

Hi!

Using xCAT 2.16.2 to deploy CentOS 7.9 stateful images, for nodes with serialport and serialspeed set in the nodehm table, I realized that the generated GRUB kernel command-line is missing the console=tty0 argument, resulting in no video output.

When the node is being deployed, the kernel correctly get both console=tty0 console=ttyS0,115200 option in the /tftpboot files, but once the node reboots, the generated /etc/default/grubfile only has:

[...]
GRUB_TERMINAL="serial console"
GRUB_SERIAL_COMMAND="serial --speed=115200"
GRUB_CMDLINE_LINUX="console=ttyS0,115200"
[...]

Is that expected? How could I make sure to have both console=tty0 and console=ttyS0,115200 setup in the GRUB configuration?

Thanks!

iGeorgeX commented 1 year ago

I also encountered this problem in version 2.16.5, is there a solution for this?