Post Script dont run on the Kickstart

General support questions including new installations
allamiro
Posts: 21
Joined: 2009/07/30 20:43:36

Post Script dont run on the Kickstart

Postby allamiro » 2012/02/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

User avatar
TrevorH
Forum Moderator
Posts: 16644
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Post Script dont run on the Kickstart

Postby TrevorH » 2012/02/16 22:09:59

Please don't shout!

Have a look at http://wiki.centos.org/TipsAndTricks/KickStart at the bit about creating a log file for your script. That might give you a clue about what's going on.

allamiro
Posts: 21
Joined: 2009/07/30 20:43:36

Re: Post Script dont run on the Kickstart

Postby allamiro » 2012/02/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.

User avatar
jlehtone
Posts: 1568
Joined: 2007/12/11 08:17:33
Location: Finland

Post Script dont run on the Kickstart

Postby jlehtone » 2012/02/17 07:57:28

I thought that you had this thread for the post-install-firstboot-tweak issue?


Return to “CentOS 5 - General Support”

Who is online

Users browsing this forum: No registered users and 0 guests