Is it possible to have an interactive shell script. I wrote a script that asks for hostname and ip address and rewrites networking/multiple interfaces, etc. based on that information. I would like to run this before networking comes up or before login prompt.

This will only be run once as my script will remove itself upon completion. This is done due to the fact that I have many "cloned" machines that need only their hostnames/IPS changed.

Problem right now is that when it gets to that point booting just hangs and I do not see any of my verbiage. If I hit enter twice it proceeds as not run.

Any ideas? Thanks. . .