dhcp doesn't seem to set the hostname on a client

Michael Tautschnig michael.tautschnig at zt-consulting.com
Wed Jan 26 10:45:14 CET 2005


[...]
>
> Mh... there isn't any user-space dhcp client used, or is it? It is the dhcp 
> "client" which is compiled into the kernel. Or is a dhcp-client used after 
> the kernel booted? I will check that...
>
AFAIK one is used - see subroutines-linux and search for dhcp ...

> Anyway, appending
>
> ip=::::demohost:eth0:dhcp
>
> makes things look much better - he grabs everything via dhcp, except the 
> hostname. The class scripts register that hostname, although 
> /tmp/fai/boot.log still doesn't show a HOSTNAME (something which cfengine 
> doesn't like too much as far as I can see).
>
But that solution is not really useful for setting up many many hosts :-) 
- although I haven't found a way around it for SPARC systems ...

Regards,
Michael



More information about the linux-fai mailing list