]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
systemd-conf: Prevent systemd-network from managing veth interfaces
authorMatt Spencer <matt.spencer@arm.com>
Tue, 15 Jun 2021 10:02:00 +0000 (11:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Jun 2021 12:41:56 +0000 (13:41 +0100)
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>
meta/recipes-core/systemd/systemd-conf/wired.network

index e7b69970d67edece2be151a481920edc252c40bd..74062872482a26491cbc55be58090f001450286d 100644 (file)
@@ -1,5 +1,6 @@
 [Match]
 Type=ether
+Name=!veth*
 KernelCommandLine=!nfsroot
 KernelCommandLine=!ip