Post script breakes kickstart file

John Summerfield debian at herakles.homelinux.org
Tue Mar 18 11:16:27 UTC 2008


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 at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list


-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at 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:-)




More information about the Kickstart-list mailing list