How to configure host name

Michael Tautschnig mt at debian.org
Mon Aug 30 08:21:21 CEST 2010


> Hi guys!
> 
> I'm actually trying to configure FAI for my servers, but i don't understand
> where to specify client's hostname.
> 
> */etc/hosts:*
> 
> 127.0.0.1       localhost
> 192.168.201.20  clean-install-64
> 192.168.201.40  demohost
> 
> */etc/dhcp3/dhcpd.conf*
> 
> subnet 192.168.201.0 netmask 255.255.255.0 {
>         range 192.168.201.10 192.168.201.50;
>         option routers 192.168.201.1;
>          filename "pxelinux.0";
> }
> 
> host demohost {
>         hardware ethernet 00:0C:29:2D:5C:90;
>         fixed-address 192.168.201.40;
> 
> }
> 

[...]

I think adding option host-name "demohost"; within this host demohost { ... }
stanza should solve your problems.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20100830/32136a8d/attachment.bin 


More information about the linux-fai mailing list