xcat2 / xcat-core

Code repo for xCAT core packages
Eclipse Public License 1.0
368 stars 172 forks source link

[suggestion] remove `quiet` from kernel command line in /tftpboot files #6916

Open kcgthb opened 3 years ago

kcgthb commented 3 years ago

Hi all,

I noticed that pretty much all the boot configuration files generated in /tftpboot are set to enable quiet boot (ie. suppress the kernel messages during boot). It seems to be hard-coded in many of the plugins: https://github.com/xcat2/xcat-core/blob/master/xCAT-server/lib/xcat/plugins/anaconda.pm#L1334 https://github.com/xcat2/xcat-core/blob/master/xCAT-server/lib/xcat/plugins/mknb.pm#L302 etc.

What's the rationale behind this? Wouldn't it be better to keep nodes booting in verbose mode, to facilitate diagnosing issues during discovery or deployment?

Obihoernchen commented 4 months ago

I guess it's added because quiet is the default for most OS. I think advanced users should be able to edit kernel commandline for debugging anyways.

Therefore, I would like to keep quiet as default, but having a on/off toggle for this is probably a good idea.