[CentOS] CentOS 7, networkmangler, and hostname

Wed Jul 23 18:29:20 UTC 2014
Mauricio Tavares <raubvogel at gmail.com>

.

On Wed, Jul 23, 2014 at 2:01 PM,  <m.roth at 5-cent.us> wrote:
> I've a 7 box (actually, it's RHEL, but the general list there is
> moribund), and I'm trying to configure it "correctly" so that it gets its
> hostname from the DHCP server. All I've found so far is a script to use
> from hooks of some kind. *Surely* there's just a configuration file option
> somewhere....
>
      Best I found using network manager is writing a script,
dhclient-exit-hooks.d/hostname
(http://askubuntu.com/questions/104918/how-to-get-hostname-from-dhcp-server).
There is also a way to do that using systemd-networkd; I am not very
proud to say I know how to do so though.


>           mark
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos