[Buildroot] [PATCH] ifupdown-script: send current hostname in DHCP request
peter at korsgaard.com
Mon Nov 5 22:22:03 UTC 2018
>>>>> "Matthew" == Matthew Weber <matthew.weber at rockwellcollins.com> writes:
> On Tue, Oct 30, 2018 at 12:16 PM Peter Korsgaard <peter at korsgaard.com> wrote:
>> For the default (BR2_SYSTEM_DHCP) /etc/network/interfaces handling.
>> Both the "big" and busybox ifupdown variants pass the hostname argument to
>> the DHCP client through the shell, so we can use $() to expand to the
>> current hostname value.
> The man page for the interfaces file mentioned that only pump, dhcpcd
> and udhcpc use the hostname value from interfaces. With dhclient
> requiring the dhclient.conf to specify the set hostname option with
> the hostname string. Would it be worth mentioning that here in the
> comment that for most (pump, dhcpcd, udhcpc) the hostname parameter
> will work but some clients like dhclient require a separate
> configuration file?
> Reviewed-by: Matt Weber <matthew.weber at rockwellcollins.com>
I've added a comment about that and applied, thanks.
Bye, Peter Korsgaard
More information about the buildroot