Re: Includes in pre scripts

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

 



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

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux