> -----Original Message----- > From: Frank Grimm [mailto:[EMAIL PROTECTED] > > 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.
