On Mon, Mar 1, 2010 at 10:53 AM, Anu Ramachandra <anu@molecularimprints.com> wrote:

Hello,

 

We use cobbler to install fedora onto new systems. At the end of the install, I source a bash script.

I just added a menu to this bash script. I use ‘read’ to read in the user’s choice. However, when cobbler gets to this point it hangs. The menu does not come up. The screen shows the message ‘Running post install scripts’ and stays this way.



Isn't the script being run in the background?  This would mean that standard in is not the keyboard, which is why it's hanging.  You can try redirecting standard in from /dev/console (which I've not done, so don't really know what to tell you to expect from that), or redirect from a file you can create in the post via a snippet just prior to executing the bash script with the menu selection, or use "echo" to pipe the menu selection in.

mark