From 8f8e51a9e80630451a589d305e0fcd99f7243da4 Mon Sep 17 00:00:00 2001 From: Jiping Ma Date: Wed, 28 Jul 2021 01:18:59 -0700 Subject: [PATCH] Add crashkernel bootarg kernel 5.10 did not support crashkernel=auto, so we change it to crashkernel=512M, because kdump-anaconda-addon that is included 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 equivalent 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 Change-Id: I9a12cf34074490fdfec897126bd9a32c530c36b1 --- bsp-files/kickstarts/pre_common_head.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bsp-files/kickstarts/pre_common_head.cfg b/bsp-files/kickstarts/pre_common_head.cfg index 01db59bf..a3ed1ed4 100644 --- a/bsp-files/kickstarts/pre_common_head.cfg +++ b/bsp-files/kickstarts/pre_common_head.cfg @@ -74,3 +74,5 @@ zerombr reboot --eject +%addon com_redhat_kdump --enable --reserve-mb=512 +%end