[CentOS] Central hostname management?
Niki Kovacs
info at microlinux.frTue Feb 10 16:13:58 UTC 2015
- Previous message: [CentOS] KISS networking with CentOS 7
- Next message: [CentOS] LUKS on EL6 / enable block device after reboot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Our local school has a 100 % Slackware Linux network with two servers and 14 desktop clients. The main server is running Dnsmasq, and he's providing static IP addresses to the desktop clients. Hostnames are also managed centrally. All client machines only have this in /etc/hosts: 127.0.0.1 localhost.localdomain localhost And in /etc/HOSTNAME: localhost.localdomain The hostname gets sent to each of the desktop clients by the server. The big advantage is I can manage everything centrally from the server. One line in /etc/dnsmasq.conf, and that's it. Client installs can all be cloned with Ghost4Linux. Now I'm trying to do the same thing on CentOS 7. /etc/hosts: 127.0.0.1 localhost.localdomain localhost (IPv6 is disabled) /etc/hostname: localhost I'm experimenting with all this while reading the RHEL Networking Guide. I understand CentOS 7 is using hostnamectl to manage the hostname. In that case, what do I have to do? Can hostnamectl be somewhat disabled and/or removed? Cheers, Niki -- 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
- Previous message: [CentOS] KISS networking with CentOS 7
- Next message: [CentOS] LUKS on EL6 / enable block device after reboot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list