diff --git a/repos/system_upgrade/common/actors/kernelcmdlineconfig/libraries/kernelcmdlineconfig.py b/repos/system_upgrade/common/actors/kernelcmdlineconfig/libraries/kernelcmdlineconfig.py index 61209dcc31..f51b9c1a28 100644 --- a/repos/system_upgrade/common/actors/kernelcmdlineconfig/libraries/kernelcmdlineconfig.py +++ b/repos/system_upgrade/common/actors/kernelcmdlineconfig/libraries/kernelcmdlineconfig.py @@ -118,9 +118,18 @@ def report_multple_entries_for_default_kernel(): ) else: report_hint = ( - 'After the system has been rebooted into the new version of RHEL, you' - ' should set the correct kernel cmdline arguments using the grub2-editenv' - ' command and reboot the system to apply them.' + 'After the system has been rebooted into the new version of RHEL,' + ' check that configured default kernel cmdline arguments are set as expected, using' + ' the `grub2-editenv list` command. ' + ' If different default arguments are expected, update them using grub2-editenv.\n' + ' For example, let's say that current booted kernel has correct kernel cmdline arguments and' + ' /proc/cmdline contains:\n\n' + ' BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-425.3.1.el8.x86_64' + ' root=/dev/mapper/rhel_ibm--root ro console=tty0' + ' console=ttyS0,115200 rd_NO_PLYMOUTH\n\n' + ' then run the following grub2-editenv command:\n\n' + ' # grub2-editenv - set "kernelopts=root=/dev/mapper/rhel_ibm--root' + ' ro console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH"' ) reporting.create_report([