Re: Kickstart-list Digest, Vol 79, Issue 11

Greg Haase <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <C8CA0BA3.1908%[email protected]>
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
[email protected]



On 9/30/10 9:14 AM, "Steve Robson" <[email protected]> wrote:

> [email protected] wrote:
>> Subject: The %end tag causes errors
>> From: whitivery <[email protected]>
>> Date: Thu, 30 Sep 2010 07:35:21 +0200
>> 
>> To: "[email protected]" <[email protected]>
>> 
>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.