Hide Forgot
Description of problem: Comments from David Cantrell: https://bugzilla.redhat.com/show_bug.cgi?id=693944#c23 What about moving the calculation of the crashkernel value out to a standalone script or tool (e.g., /usr/sbin/rhcrashkernel) that we can run and get a preferred crashkernel value for the boot loader configuration file? During initial installation, we [anaconda] can use that program to set up the boot loader and you guys can run it from %post to modify existing boot loader configuration files. The %post script could key on the existence of a boot loader configuration file appropriate to the platform as to whether or not it should modify the crashkernel value. You could provide the tool in the kexec-tools package. See also Bug 693944.
[alex@dhcp-16-252 kexec-tools]$ ls rhcrashkernel-param rhcrashkernel-param [alex@dhcp-16-252 kexec-tools]$ cat rhcrashkernel-param #!/bin/sh if grep -q Fedora /etc/redhat-release; then echo -n else echo crashkernel=auto fi This has been added into rhel7.