Re: The %end tag causes errors

whitivery <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
whitivery <[email protected]> wrote:

>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.
>
>Details:
>
>- %end on %packages: traceback starts with:
>    File "/usr/bin/anaconda", line 733, in ?
>  and near end says KickstartParseError
>  and identifies a kickstart line (which doesn't correspond
>  to a %end)
>
>- %end on %pre: traceback starts with:
>    File "/usr/bin/anaconda", line 900, in ?
>
>- %end on %post: my steps work but at end:
>  {temporary ks filename}: line 490: fg: no job control
>
>
>I don't see anaconda identify its version, but the RPM included
>with CentOS 5.5 is anaconda-11.1.2.209-1.el5.

I'm replying to myself: For some reason answers to this showed up
in the thread titled "Re: Kickstart-list Digest, Vol 79, Issue 11".

Per those and a private email: basically, %end is in Fedora (and
has been for years), but still is not in RHEL/CentOS.
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.