Central hostname management

Niki Kovacs info at microlinux.fr
Wed Jun 4 09:55:30 UTC 2014

I'll answer this myself, since I just found the solution after some more 
fiddling. It's actually very simple and works perfectly.

On the client :

1. Remove network-manager.

2. Configure a classic DHCP client in /etc/network/interfaces.

3. Remove the static /etc/hostname file.

4. Edit /etc/hosts to only contain ' localhost.localdomain 

5. Reboot.

Now all clients are given correct hostname information (according to 
'hostname' and 'hostname --fqdn') from the server without the slightest 
bit of static information on any client machine. Works perfectly.


Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : info at microlinux.fr
Tél. : 04 66 63 10 32

More information about the ubuntu-users mailing list