Includes in pre scripts

Gerrard Geldenhuis Gerrard.Geldenhuis at datacash.com
Wed Mar 26 18:46:14 UTC 2008


Thanks that has done the trick for me.

Although the %include in the post section still worked as a an include.

Regards

> -----Original Message-----
> From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-
> bounces at redhat.com] On Behalf Of michael at kmaclub.com
> Sent: 26 March 2008 18:02
> To: Discussion list about Kickstart
> Subject: Re: Includes in pre scripts
> 
> Gerrard Geldenhuis wrote:
> > Hi
> > I am trying to do the following in satellite:
> >
> > At the top of the kickstart file:
> > device scsi cciss
> > zerombr yes
> > clearpart --all
> > %include /tmp/partinfo
> >
> > In my pre script :
> > %pre
> > wget http://blah.com/pub/ks-scripts/post.sh -O /tmp/post.sh
> > wget http://blah.com/pub/ks-scripts/pre.sh -O /tmp/pre.sh
> > %include /tmp/pre.sh
> 
> You don't want to include /tmp/pre.sh, you want to run it
> 
> sh /tmp/pre.sh
> 
> 
> Michael
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list




More information about the Kickstart-list mailing list