Post Script dont run on the Kickstart
Posted by allamiro on 2012/2/16 21:39:44
i HAVE THIS PROBLEM WHERE SOME OF MY SCRIPTS SPECIFCALLY THE FIRST 20 LINES ON THE % POST % SECTION WORK AND OTHER ONES DONT IF I CHANGES THOSE ONES THAT THEY WORK AND PUT ALL WAY TO THE END THE OTHER SCRIPTS DO WORK BUT NOT ALL OF MY BOTTOM SCRIPTS WORK
NOT SURE HOW TO GO BY TROUBLESHOOTING THIS ?
ANy one notices that before
Re: Post Script dont run on the Kickstart
Posted by TrevorH on 2012/2/16 22:09:59
Re: Post Script dont run on the Kickstart
Posted by allamiro on 2012/2/16 22:47:01
Thanks for the info I found out that I may probably need to add the chroot option to the post section since I have some copying of scripts from the media
The post-install script is run in a chroot environment; therefore, performing tasks such as copying scripts or RPMs from the installation media do not work.
Re: Post Script dont run on the Kickstart
Posted by jlehtone on 2012/2/17 7:57:28
I thought that you had
this thread for the post-install-firstboot-tweak issue?
This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=37&topic_id=35849