Using perl in %pre
Philip Rowlands
phr at doc.ic.ac.uk
Thu Apr 29 21:26:59 UTC 2004
On Thu, 29 Apr 2004, Joseph Glass wrote:
>What is the easiest way to use '%pre --interpreter /usr/bin/perl' using
>a RedHat 9 boot CD?
%pre gives you the contents of initrd.img and stage2.img. Perl is not
part of either of these, so your best bet is to provide it via an NFS
share, or rewrite the script in Python (not a bad perl-a-like
interpreted language, I've recently discovered.).
Otherwise, make the perl script/app available as a CGI on your install
server, and call out from %pre over the network.
Cheers,
Phil
More information about the Kickstart-list
mailing list