SCIENTIFIC-LINUX-USERS Archives

June 2015

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Nico Kadel-Garcia <[log in to unmask]>
Reply To:
Nico Kadel-Garcia <[log in to unmask]>
Date:
Fri, 26 Jun 2015 07:55:57 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
On Fri, Jun 26, 2015 at 6:40 AM, Mark Whidby
<[log in to unmask]> 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

ATOM RSS1 RSS2