Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | #the kdump kernel version string. |
| 2 | #KDUMP_KVER="`uname -r`" |
| 3 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 4 | #this will be passed to the kdump kernel as kdump kernel command line |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 5 | #KDUMP_CMDLINE="`cat /proc/cmdline`" |
| 6 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 7 | #the kernel image for kdump |
| 8 | #KDUMP_KIMAGE="/boot/bzImage-${KDUMP_KVER}" |
| 9 | |
| 10 | #Where to save the vmcore |
| 11 | #KDUMP_VMCORE_PATH="/var/crash/`date +"%Y-%m-%d"`" |
| 12 | |
| 13 | #the arguments to makedumpfile |
| 14 | MAKEDUMPFILE_ARGS="--dump-dmesg -x /boot/vmlinux-`uname -r`" |