CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - General Support
  Post Script dont run on the Kickstart

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  allamiro
      allamiro
Post Script dont run on the Kickstart
#1
Peeking in the Member Window
Joined: 2009/7/30
From
Posts: 21
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
Posted on: 2012/2/16 21:39
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: Post Script dont run on the Kickstart
#2
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6560
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.
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/2/16 22:09
Create PDF from Post Print
Top
  •  allamiro
      allamiro
Re: Post Script dont run on the Kickstart
#3
Peeking in the Member Window
Joined: 2009/7/30
From
Posts: 21
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.
Posted on: 2012/2/16 22:47
Create PDF from Post Print
Top
  •  jlehtone
      jlehtone
Re: Post Script dont run on the Kickstart
#4
Professional Board Member
Joined: 2007/12/11
From Finland
Posts: 1334
I thought that you had this thread for the post-install-firstboot-tweak issue?
Posted on: 2012/2/17 7:57
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com