mirror of
git://git.yoctoproject.org/poky
synced 2026-09-14 05:42:19 +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: c88bb3db92d0650a560d7cbc1f0f42ae8faf15e1) 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: Richard Purdie <richard.purdie@linuxfoundation.org>
12 lines
135 B
SYSTEMD
12 lines
135 B
SYSTEMD
[Match]
|
|
Name=en* eth*
|
|
KernelCommandLine=!nfsroot
|
|
KernelCommandLine=!ip
|
|
|
|
[Network]
|
|
DHCP=yes
|
|
|
|
[DHCP]
|
|
RouteMetric=10
|
|
ClientIdentifier=mac
|