On Sat, Jul 29, 2017 at 9:00 AM, Andrey Yurovsky <yurov...@gmail.com> wrote:

> However I see the DHCP client use the original hostname the first time
> my target boots (I captured traffic and checked the DHCP Discover
> contents). When I reboot the newly-booted system, /etc/hostname is
> already updated so everything looks right on the wire. It feels like
> systemd-networkd is using the hostname that was read at systemd init
> (in main.c) rather than checking what it's set to, but that's just
> speculation (I need to dig in further).


In that case, could you try setting it via `hostnamectl` instead?

-- 
Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to