Kickstart-list Digest, Vol 79, Issue 11

Greg Haase ghaase at syntheticgenomics.com
Thu Sep 30 16:40:51 UTC 2010


Looking at the documentation listed on the Fedora Project, I see a reference
to the %end tag.  

Under the title heading " Creating the Kickstart File" you will find this:

"Old-style kickstart syntax does not specify for any end token after the
%packages section or scripts. In this case, the following section order is
required. New-style kickstart syntax requires using %end following these
sections, which means that ordering is not required"

http://fedoraproject.org/wiki/Anaconda/Kickstart

I think this works in Fedora and not CentOS where I actually had to remove
them.  So I guess the %end is bleeding edge while the rest of the body has
yet to accept it into common practice.

Greg

Greg Haase
ghaase at syntheticgenomics.com



On 9/30/10 9:14 AM, "Steve Robson" <srobson at cadence.com> wrote:

> kickstart-list-request at redhat.com wrote:
>> Subject: The %end tag causes errors
>> From: whitivery <co55-sy1t at dea.spamcon.org>
>> Date: Thu, 30 Sep 2010 07:35:21 +0200
>> 
>> To: "Kickstart-list at redhat.com" <Kickstart-list at redhat.com>
>> 
>> In a CentOS 5.5 kickstart file, adding %end to mark the end of the
>> %packages, %pre, or %post sections causes an error.  In the first two
>> cases the kickstart fails and stops.  For the %post it gives an error
>> message but it has already run all of my post steps so it doesn't have a
>> functional impact.
>> 
>> Without the %end lines, the kickstart file works fine.
> 
> Hi there,
> 
>    Not sure where you got "%end" from but I've never heard of it or used
> it.  It's not mentioned in the RHEL5 kickstart documentation starting at
> http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installation
> _Guide/s1-kickstart2-file.html




More information about the Kickstart-list mailing list