From 78df4ab73e9260184f4d4b31984ba7b30b340fa0 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Thu, 4 Mar 2021 20:35:40 +0100 Subject: systemd-conf: do not ask for DHCP if configured on kernel command line 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 Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd-conf/wired.network | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-core/systemd/systemd-conf/wired.network') diff --git a/meta/recipes-core/systemd/systemd-conf/wired.network b/meta/recipes-core/systemd/systemd-conf/wired.network index 09367edb10..e7b69970d6 100644 --- a/meta/recipes-core/systemd/systemd-conf/wired.network +++ b/meta/recipes-core/systemd/systemd-conf/wired.network @@ -1,6 +1,7 @@ [Match] Type=ether KernelCommandLine=!nfsroot +KernelCommandLine=!ip [Network] DHCP=yes -- cgit v1.2.3-54-g00ecf