mirror of
git://git.yoctoproject.org/poky
synced 2026-08-15 11:58: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: 8c4981e740c0e630200dbc77c9e3dfd3e43b790b) Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 lines
143 B
SYSTEMD
13 lines
143 B
SYSTEMD
[Match]
|
|
Type=ether
|
|
KernelCommandLine=!nfsroot
|
|
KernelCommandLine=!ip
|
|
|
|
[Network]
|
|
DHCP=yes
|
|
|
|
[DHCP]
|
|
UseMTU=yes
|
|
RouteMetric=10
|
|
ClientIdentifier=mac
|