Re: NetworkManager Hostname Not Being Used



On Sat, 19 Aug 2017 03:17:31 +0000
"Soule, Michael" <misoule sentinel com> wrote:

The hostname configured for the interface network script is set. The
proper hostname is shown when checking nmcli for the
ipv4.dhcp-hostname option, the ipv4.dhcp-send-hostname, and when
viewing the generated interface configuration for send host-name
option. With everything set and "dhclient eth0" as the executed
command the hostname is not sent to the DHCP server. When "dhclient
eth0 -H SPACE01" is executed the DHCP server finds hostname.


Anyone seen this behavior before?


There is a configure option (build time) to enable persistent
hostname support:
  --with-hostname-persist

It takes an argument, so be sure to look farther than just 
passing that flag to configure -- you'll have to see which
of the available options best suits you based on what they
do (which will require reading a bit of the configure script
itself).

-RW


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]