[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Post script breakes kickstart file
- From: "Gerrard Geldenhuis" <Gerrard Geldenhuis datacash com>
- To: "Discussion list about Kickstart" <kickstart-list redhat com>
- Subject: RE: Post script breakes kickstart file
- Date: Tue, 18 Mar 2008 11:23:51 -0000
I feel like an idiot...
The f was a typo it was actually if
I have forgotten the fi at the end.
The test bed script I wrote did have the fi in it, it just seems I never
copied it over.
Here I was imagining all kind of strange bizarre reasons why my script
were failing.
Thanks
> -----Original Message-----
> From: kickstart-list-bounces redhat com [mailto:kickstart-list-
> bounces redhat com] On Behalf Of John Summerfield
> Sent: 18 March 2008 11:16
> To: Discussion list about Kickstart
> Subject: Re: Post script breakes kickstart file
>
> Gerrard Geldenhuis wrote:
> > Hi
> >
> > I have the following few lines in a post script. When I add this to
the
> > post script running chrooted it breaks the kickstart. Meaning
nothing
> > after this lines gets executed.
> Doesn't pass my scanner either
>
> >
> >
> >
> > f [ $(grep -c eth /proc/net/dev) -eq 4 ]; then
> should that be if?
>
> >
> > SECETH='eth2'
> >
> > else
> >
> > SECETH='eth1'
>
> a fi here maybe?
>
> >
> >
> >
> > I have encapsulated the script in brackets and piped the output to a
log
> > file but this is empty and provides no clue as to why this breaks
the
> > kickstart file.
> >
> >
> >
> > I am looking into the matter further but just thought maybe some one
> > would at a glance know what is causing the problem.
> >
> >
> >
> > Regards
> >
> >
> >
> >
> >
------------------------------------------------------------------------
> >
> > _______________________________________________
> > Kickstart-list mailing list
> > Kickstart-list redhat com
> > https://www.redhat.com/mailman/listinfo/kickstart-list
>
>
> --
>
> Cheers
> John
>
> -- spambait
> 1aaaaaaa coco merseine nu Z1aaaaaaa coco merseine nu
> -- Advice
> http://webfoot.com/advice/email.top.php
> http://www.catb.org/~esr/faqs/smart-questions.html
> http://support.microsoft.com/kb/555375
>
> You cannot reply off-list:-)
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list redhat com
> https://www.redhat.com/mailman/listinfo/kickstart-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]