I'm currently managing several servers and we've streamlined our process by using a single custom ISO with a Kickstart file for installing Red Hat 9.4. Usually, I have to manually select the target server through a GUI during the installation, which is a step I'm trying to automate. I'm curious if there's a way to make the Kickstart file automatically recognize which server it is running on and adjust the installation parameters accordingly, all without needing any GUI interaction since we already use APIs for server access.
1 Answer
To detect the target server without using the GUI, it's crucial to establish how you currently identify which server you're on. Have you considered using the environment variable `HOSTNAME`? That could help your script to pick the right server automatically. Although, I must say, if you need to manually start the installation, entering a server name might not be such a hassle—what's the biggest issue with that?”},{
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures