[systemd-devel] Networkd dhcp hostname override

Lennart Poettering lennart at poettering.net
Wed Aug 13 18:35:25 PDT 2014


On Thu, 24.07.14 09:53, Thomas Suckow (thomas.suckow at pnnl.gov) wrote:

> Now that networkd can send the systems hostname to the dhcp server, I would find it useful to have an option to override the hostname that gets sent.
> 
> In my use case, I would like to setup a number of macvlans with different hostnames.
> 
> Something as simple as
> 
> [DHCP]
> SendHostname=true
> Hostname=foo

Sounds useful, though this could just be a single option
SendHostname=foobar or so. If not set it sends the system hostname,
otherwise the specified hostname. Or something like that.

Added to TODO list.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list