kfan / rpms / kexec-tools

Forked from rpms/kexec-tools 3 years ago
Clone
d3c4b95
# Kernel Version string for the -kdump kernel, such as 2.6.13-1544.FC5kdump
d3c4b95
# If no version is specified, then the init script will try to find a
d3c4b95
# kdump kernel with the same version number as the running kernel.
d3c4b95
KDUMP_KERNELVER=""
d3c4b95
d3c4b95
# The kdump commandline is the command line that needs to be passed off to
d3c4b95
# the kdump kernel.  This will likely match the contents of the grub kernel
d3c4b95
# line.  For example:
d3c4b95
#   KDUMP_COMMANDLINE="ro root=LABEL=/"
Dave Young ec8e35a
# Dracut depends on proper root= options, so please make sure that appropriate
Dave Young ec8e35a
# root= options are copied from /proc/cmdline. In general it is best to append
Dave Young ec8e35a
# command line options using "KDUMP_COMMANDLINE_APPEND=".
d3c4b95
# If a command line is not specified, the default will be taken from
d3c4b95
# /proc/cmdline
d3c4b95
KDUMP_COMMANDLINE=""
d3c4b95
Dangyi Liu 3ec336c
# This variable lets us remove arguments from the current kdump commandline
Dangyi Liu 3ec336c
# as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
Dangyi Liu 3ec336c
# NOTE: some arguments such as crashkernel will always be removed
Dave Young 53564ad
KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet"
Dangyi Liu 3ec336c
d3c4b95
# This variable lets us append arguments to the current kdump commandline
Dangyi Liu 3ec336c
# after processed by KDUMP_COMMANDLINE_REMOVE
0aada50
KDUMP_COMMANDLINE_APPEND="irqpoll maxcpus=1 noirqdistrib reset_devices cgroup_disable=memory numa=off udev.children-max=2 ehea.use_mcs=0 panic=10 rootflags=nofail kvm_cma_resv_ratio=0 transparent_hugepage=never"
d3c4b95
d3c4b95
# Any additional kexec arguments required.  In most situations, this should
d3c4b95
# be left empty
d3c4b95
#
d3c4b95
# Example:
d3c4b95
#   KEXEC_ARGS="--elf32-core-headers"
d3c4b95
KEXEC_ARGS=""
d3c4b95
d3c4b95
#Where to find the boot image
Baoquan He cad9918
#KDUMP_BOOTDIR="/boot"
d3c4b95
d3c4b95
#What is the image type used for kdump
Dave Young b58723d
KDUMP_IMG="vmlinuz"
d3c4b95
d3c4b95
#What is the images extension.  Relocatable kernels don't have one
Dave Young b58723d
KDUMP_IMG_EXT=""
Baoquan He 9e964ff
Baoquan He 9e964ff
#Specify the action after failure