Invoke kickstart installation from Linux shell
I've setup plumbing for doing Kickstart deployments with RH9, RH-ES3 and RH-ES4 from an HTTP server using a bootable CD. For each machine I insert the CD, press reset, remove the CD and 10 minutes later I'm looking at a freshly installed RedHat platform. Everything works great.
However each new round of testing must be done on a freshly installed OS so I would like to fully automate the (re)deployment process rather than having to manually visit every machine in the lab with each new build. Once a machine has been initially deployed with Linux, I would like to be able to invoke a fresh redeployment via a telnet/ssh session.
FYI, I've been told that pxeboot and/or etherboot are not options which I can pursue. Even if allowed, these solutions seem very hardware-sensitive and may potentially pose significant maintenance challenges.
I can imagine several other ways to do this, but wanted to troll for better suggestions.
1. Enable the CD as the first bootable device, reboot and at the end of the deployment disable the CD as the first bootable device. I've found no generic way to enable/disable the CD as the boot device. All of the mechanisms I've found so far only work in DOS, are vendor/model specific and usually don't work off-the-shelf with brand new hardware. Is there a generic mechanism for doing this which works well from Linux?
2. Setup a hidden DOS partition so I can invoke the Kickstart installer via Loadlin from a batch file. Then I can unhide or hide this partition as needed. I am certain that I can do this, but currently consider this tactic to be a last resort. I would rather not have to involve DOS and a FAT partition if possible.
3. Invoke the kickstart installer directly from a Linux shell. I've not found a way to do this, but this is what I hope to be able to accomplish.
It seems reasonable to believe that if I can accomplish #2 using Loadlin from DOS, then I should be able to accomplish #3 from a Linux shell. But I've been searching and experimenting for some time with no success...Is this possible? Are there other mechanisms available which I should consider for accomplishing this goal?