aboutsummaryrefslogtreecommitdiffstats
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:41:56 +0100
commitb615bb279730ce3e0c4b4098a9e43700f2f095af (patch)
treec37a1b74e9d3bf73dbefabd581342368f405c3c2
parentbcd20c78be3828903c18fcb40853e7146cc85fdb (diff)
downloadopenembedded-core-contrib-b615bb279730ce3e0c4b4098a9e43700f2f095af.tar.gz
openembedded-core-contrib-b615bb279730ce3e0c4b4098a9e43700f2f095af.tar.bz2
openembedded-core-contrib-b615bb279730ce3e0c4b4098a9e43700f2f095af.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. 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