hostname and /fai/files
Bruce Edge
bedge at troikanetworks.com
Wed Jun 4 18:10:15 CEST 2003
> -----Original Message-----
> From: Frank Grimm [mailto:fgr at zlug.org]
>
> Currently we are setting HOSTNAME by appending the last part
> of the IPv4
> address (which the install client receives via dhcp) to a hostname
> prefix, e.g. fainode-99. Is there a way to get the given dhcp hostname
> and take it as the hostname?
>
If you need to get at any of the IP config stuff from scripts that don't inherit the environment for whatever reason, you can just source $LOGDIR/dhcp.log, or $LOGDIR/boot.log depending on which gets created in your setup.
-Bruce.
More information about the linux-fai
mailing list