summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Spencer <matt.spencer@arm.com>2021-06-15 11:02:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-17 13:42:31 +0100
commitf65757ad1791a46cc210141c84ccc51552171e98 (patch)
tree82a2ef75e1886d4ae407aca08eca186e87ec9fe7
parentfaefe113ac799afa22a7267cb84d2899f2844e20 (diff)
downloadpoky-f65757ad1791a46cc210141c84ccc51552171e98.tar.gz
poky-f65757ad1791a46cc210141c84ccc51552171e98.tar.bz2
poky-f65757ad1791a46cc210141c84ccc51552171e98.zip
systemd-conf: Prevent systemd-network from managing veth interfaces
We need to prevent systemd-network from managing veth interface when using platforms like k3s as they control creation and management of the interfaces. (From OE-Core rev: b615bb279730ce3e0c4b4098a9e43700f2f095af) Signed-off-by: Matt Spencer <matt.spencer@arm.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/systemd/systemd-conf/wired.network1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd-conf/wired.network b/meta/recipes-core/systemd/systemd-conf/wired.network
index e7b69970d6..7406287248 100644
--- a/meta/recipes-core/systemd/systemd-conf/wired.network
+++ b/meta/recipes-core/systemd/systemd-conf/wired.network
@@ -1,5 +1,6 @@
[Match]
Type=ether
+Name=!veth*
KernelCommandLine=!nfsroot
KernelCommandLine=!ip