execute shell script in postinstall

Philip Rowlands phr at doc.ic.ac.uk
Tue Mar 22 09:57:11 UTC 2005


On Tue, 22 Mar 2005, keanboon wrote:

>I want to execute a shell script in postinstall. Where should i put my
>shell script? How can i execute it?

Hard disk, optical disk, network... e.g. :

%post
wget http://server.example.com/script.sh
sh script.sh

>Besides that, i also get an error message while running the kickstart
>file:
>Error opening: kickstart file
>/tmp/ks.cfg  No such file or directory

Could be one of several problems; what was the kernel command line?


Cheers,
Phil




More information about the Kickstart-list mailing list