[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Includes in pre scripts
- From: "Hearn, Stan J." <stan hearn nscorp com>
- To: Discussion list about Kickstart <kickstart-list redhat com>
- Subject: RE: Includes in pre scripts
- Date: Wed, 26 Mar 2008 14:40:21 -0400
What is the difference between "%include something" and "sh /something"?
What is a good reason to use %include then?
Are you saying this because the include is above the %pre? In other
words, do you also want to use "sh /tmp/something" instead of include in
a %pre or %post stanza?
Stan
-----Original Message-----
From: kickstart-list-bounces redhat com
[mailto:kickstart-list-bounces redhat com] On Behalf Of
michael kmaclub com
Sent: Wednesday, March 26, 2008 2:02 PM
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 redhat com
https://www.redhat.com/mailman/listinfo/kickstart-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]