[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]