b9e861
# Kernel Version string for the -kdump kernel, such as 2.6.13-1544.FC5kdump
b9e861
# If no version is specified, then the init script will try to find a
b9e861
# kdump kernel with the same version number as the running kernel.
b9e861
KDUMP_KERNELVER=""
b9e861
b9e861
# The kdump commandline is the command line that needs to be passed off to
b9e861
# the kdump kernel.  This will likely match the contents of the grub kernel
b9e861
# line.  For example:
b9e861
#   KDUMP_COMMANDLINE="ro root=LABEL=/"
b9e861
# Dracut depends on proper root= options, so please make sure that appropriate
b9e861
# root= options are copied from /proc/cmdline. In general it is best to append
b9e861
# command line options using "KDUMP_COMMANDLINE_APPEND=".
b9e861
# If a command line is not specified, the default will be taken from
b9e861
# /proc/cmdline
b9e861
KDUMP_COMMANDLINE=""
b9e861
b9e861
# This variable lets us remove arguments from the current kdump commandline
b9e861
# as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
b9e861
# NOTE: some arguments such as crashkernel will always be removed
3d818d
KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb prot_virt ignition.firstboot"
b9e861
b9e861
# This variable lets us append arguments to the current kdump commandline
b9e861
# after processed by KDUMP_COMMANDLINE_REMOVE
b9e861
KDUMP_COMMANDLINE_APPEND="nr_cpus=1 cgroup_disable=memory numa=off udev.children-max=2 panic=10 rootflags=nofail transparent_hugepage=never novmcoredd"
b9e861
b9e861
# Any additional /sbin/mkdumprd arguments required.
b9e861
MKDUMPRD_ARGS=""
b9e861
b9e861
# Any additional kexec arguments required.  In most situations, this should
b9e861
# be left empty
b9e861
#
b9e861
# Example:
b9e861
#   KEXEC_ARGS="--elf32-core-headers"
e97a90
KEXEC_ARGS="-s"
b9e861
b9e861
#Where to find the boot image
b9e861
#KDUMP_BOOTDIR="/boot"
b9e861
b9e861
#What is the image type used for kdump
b9e861
KDUMP_IMG="vmlinuz"
b9e861
b9e861
#What is the images extension.  Relocatable kernels don't have one
b9e861
KDUMP_IMG_EXT=""
54b5ae
54b5ae
# Logging is controlled by following variables in the first kernel:
54b5ae
#   - @var KDUMP_STDLOGLVL - logging level to standard error (console output)
54b5ae
#   - @var KDUMP_SYSLOGLVL - logging level to syslog (by logger command)
54b5ae
#   - @var KDUMP_KMSGLOGLVL - logging level to /dev/kmsg (only for boot-time)
54b5ae
#
54b5ae
# In the second kernel, kdump will use the rd.kdumploglvl option to set the
54b5ae
# log level in the above KDUMP_COMMANDLINE_APPEND.
54b5ae
#   - @var rd.kdumploglvl - logging level to syslog (by logger command)
54b5ae
#   - for example: add the rd.kdumploglvl=3 option to KDUMP_COMMANDLINE_APPEND
54b5ae
#
54b5ae
# Logging levels: no logging(0), error(1),warn(2),info(3),debug(4)
54b5ae
#
54b5ae
# KDUMP_STDLOGLVL=3
54b5ae
# KDUMP_SYSLOGLVL=0
54b5ae
# KDUMP_KMSGLOGLVL=0