Redhat – How to Run Script on RHEL5 Server’s First Boot

linuxredhatrhel5

How can I run a script on the first book of my rhel 5 server after install.

I am using post kickstart tasks to create a script and I'd like to run it the first time the server boots. How can I do this?

I'd like to use the "firstboot" service

Best Answer

Is there any reason you NEED to use the firstboot service?

Take a look at: How to run script on first boot?