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