When I need to do anything substantial post install, I have %post arrange for it
to happen on first boot (usually with a one-time cronjob).
example:
%post
cat >/root/myscript <<"ENDOFSCRIPT"
#!/bin/bash
rm -f /etc/cron.d/myscript
sleep 60
#
#put whatever you want here
#
ENDOFSCRIPT
cat >/etc/cron.d/myscript <<"ENDOFCRON"
* * * * * root /bin/bash /root/myscript
ENDOFCRON
Raymond, Jeff wrote:
Hello,
I am trying to install OpenOffice during the post setup. There is a a simple script to do it. It is just a shell script but the .install script is not running during the post phase. I tried using the --interpreter swith with /usr/bin/bash as the shell but that does not work either does any one know how to make a shell script run in Post?
Thanks
Jeff
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list