chiark / gitweb /
networkd: send hostname to dhcp server
authorEugene Yakubovich <eugene.yakubovich@coreos.com>
Tue, 1 Jul 2014 18:58:49 +0000 (11:58 -0700)
committerTom Gundersen <teg@jklm.no>
Tue, 1 Jul 2014 20:02:25 +0000 (22:02 +0200)
Send hostname (option 12) in DISCOVER and REQUEST messages so the
DHCP server could use it to register with dynamic DNS and such.

To opt-out of this behaviour set SendHostname to false in [DHCP]
section of .network file

[tomegun: rebased, made sure a failing set_hostname is a noop and moved
          config from DHCPv4 to DHCP]


No differences found