I'm using the CentOS 6 netinstall ISO with some kickstart files on an http server. When the ISO boots I hit TAB and enter the boot options asknetwork ks=http://<ip-address>/path/to/kickstart.ks
.
My kickstart files do not have a network
parameter, so it should be prompting. When I leave out asknetwork
it tries to use DHCP. With asknetwork
it only prompts for IP information.
Unfortunately anaconda is hell bent on automatically discovering the hostname, which ends up being a reverse DNS lookup of the IP, or localhost.localdomain
if nothing was found.
Is there a way to make anaconda prompt for the hostname, or some way to pre-enter it through a custom boot option?
There used to be network --bootproto=query
for CentOS 5, but this no longer works in 6.