Add crashkernel bootarg

kernel 5.10 did not support crashkernel=auto, so we change it to
crashkernel=512M, because kdump-anaconda-addon that is inclued in
squashfs.img does not support the value
--reserve-mb='2G-8G:256M,8G-16G:512M,16G-32G:1G,32G:2G'.

crashkernel=512M-2G:64M,2G-8G:256M,8G-16G:512M,16G-32G:1G,32G-:2G
that is a similar to the 'auto' value for the 'crashkernel'.
this work will be done to make this dynamic, based on system memory,
via other tooling, such as puppet.

Story: 2008921
Task: 42872

Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Change-Id: I9a12cf34074490fdfec897126bd9a32c530c36b1
This commit is contained in:
Jiping Ma 2021-07-28 01:18:59 -07:00
parent fc84f13b64
commit bf62c4b4f6
1 changed files with 2 additions and 0 deletions

View File

@ -74,3 +74,5 @@ zerombr
reboot --eject
%addon com_redhat_kdump --enable --reserve-mb=512
%end