Skip to content

Commit

Permalink
Update repos/system_upgrade/common/actors/kernelcmdlineconfig/librari…
Browse files Browse the repository at this point in the history
…es/kernelcmdlineconfig.py

Co-authored-by: Petr Stodůlka <[email protected]>
  • Loading branch information
matejmatuska and pirat89 authored Oct 18, 2024
1 parent 461acdb commit c40157d
Showing 1 changed file with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit c40157d

Please sign in to comment.