This option will determine whether to reset kernel crashkernel
to new default value or not when kexec-tools updates the default
crashkernel value and existing kernels using the old default kernel
crashkernel value. Default to yes.
Signed-off-by: Coiby Xu <coxu(a)redhat.com>
---
kdump.conf | 7 +++++++
kdump.conf.5 | 6 ++++++
2 files changed, 13 insertions(+)
diff --git a/kdump.conf b/kdump.conf
index dea2e94..91e6928 100644
--- a/kdump.conf
+++ b/kdump.conf
@@ -11,6 +11,12 @@
#
# Supported options:
#
+# auto_reset_crashkernel <yes|no>
+# - whether to reset kernel crashkernel to new default value
+# or not when kexec-tools updates the default crashkernel value and
+# existing kernels using the old default kernel crashkernel value.
+# The default value is yet.
+#
# raw <partition>
# - Will dd /proc/vmcore into <partition>.
# Use persistent device names for partition devices,
@@ -170,6 +176,7 @@
#ssh user(a)my.server.com
#ssh user@2001:db8::1:2:3:4
#sshkey /root/.ssh/kdump_id_rsa
+auto_reset_crashkernel yes
path /var/crash
core_collector makedumpfile -l --message-level 7 -d 31
#core_collector scp
diff --git a/kdump.conf.5 b/kdump.conf.5
index 6e6cafa..e3e9900 100644
--- a/kdump.conf.5
+++ b/kdump.conf.5
@@ -26,6 +26,12 @@ understand how this configuration file affects the behavior of kdump.
.SH OPTIONS
+.B auto_reset_crashkernel <yes|no>
+.RS
+determine whether to reset kernel crashkernel to new default value
+or not when kexec-tools updates the default crashkernel value and
+existing kernels using the old default kernel crashkernel value
+
.B raw <partition>
.RS
Will dd /proc/vmcore into <partition>. Use persistent device names for
--
2.31.1