mirror of
git://git.yoctoproject.org/poky
synced 2026-09-13 02:45:35 +00:00
In cases where we configure the IP address and more on the kernel command line with ip= we should not ask for DHCP with systemd-networkd later on. We have such a setup with our runqemu script. With this match in place we can also deploy this unit on qemu systems. (From OE-Core rev: a321345bee919ff16f6041ded26776da890c395d) Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8c4981e740c0e630200dbc77c9e3dfd3e43b790b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 lines
146 B
SYSTEMD
13 lines
146 B
SYSTEMD
[Match]
|
|
Name=en* eth*
|
|
KernelCommandLine=!nfsroot
|
|
KernelCommandLine=!ip
|
|
|
|
[Network]
|
|
DHCP=yes
|
|
|
|
[DHCP]
|
|
UseMTU=yes
|
|
RouteMetric=10
|
|
ClientIdentifier=mac
|