Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame^] | 1 | #the kdump kernel version string. |
| 2 | #KDUMP_KVER="`uname -r`" |
| 3 | |
| 4 | #this will be passed to the kdump kernel as kdump kernel command line, it |
| 5 | #usually comes from /proc/cmdline |
| 6 | #KDUMP_CMDLINE="`cat /proc/cmdline`" |
| 7 | |
| 8 | # append arguments to the kdump commandline |
| 9 | #KDUMP_CMDLINE_APPEND="kdump_needed maxcpus=1 irqpoll reset_devices" |
| 10 | |
| 11 | #the kernel image for kdump |
| 12 | #KDUMP_KIMAGE="/boot/bzImage-${KDUMP_KVER}" |
| 13 | |
| 14 | #Where to save the vmcore |
| 15 | #KDUMP_VMCORE_PATH="/var/crash/`date +"%Y-%m-%d"`" |
| 16 | |
| 17 | #the arguments to makedumpfile |
| 18 | MAKEDUMPFILE_ARGS="--dump-dmesg -x /boot/vmlinux-`uname -r`" |