On Fri, Jun 26, 2015 at 6:40 AM, Mark Whidby
<mark.whi...@manchester.ac.uk> wrote:
> On Fri, 2015-06-26 at 05:34 -0500, Stephen Berg (Contractor) wrote:
>> Can't seem to find a kickstart setting for either enabling or disabling
>> kdump from a kickstart installation.  Does anyone know what I can put in
>> a kickstart to disable kdump?
>>
>
> In the post script I do:
>
> systemctl disable kdump

If I may suggest?

One of the useful bits about kickstart is that you can have multiple
'%post" sections, with multiple distinct scripts, and assemble them
together in a mix and match pattern to activate one or more, as
needed, for particular environments.

The other is that you can put in this to keep a real copy of your
kickstart file for reference, not that massaged and interpreted and
mangled mass at /tmp/anaconda-ks.cfg.

    %post --nochroot
    cp -f /tmp/ks.cfg /mnt/sysimage/root/ks.cfg
    %end

Reply via email to