From: Dusty Mabe Date: Thu, 24 Jun 2021 18:41:08 +0000 (-0400) Subject: fix(network-manager): support teaming under NM+systemd X-Git-Tag: 056~144 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a97d2cedcf65a9a2fbff2591171f0163c7d3cb46;p=thirdparty%2Fdracut.git fix(network-manager): support teaming under NM+systemd Previously when NM was run without dbus then teaming would come up appropriately [1], but now that dbus exists we also need to include some supporting infrastructure to allow for it to work again. [1] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/d689380cfc5734a29b1302d68027190e1a606265 --- diff --git a/modules.d/35network-manager/module-setup.sh b/modules.d/35network-manager/module-setup.sh index 0b7d21aea..f85614680 100755 --- a/modules.d/35network-manager/module-setup.sh +++ b/modules.d/35network-manager/module-setup.sh @@ -38,6 +38,11 @@ install() { inst "$dbussystem"/org.freedesktop.NetworkManager.conf inst_multiple nmcli nm-online + # teaming support under systemd+dbus + inst_multiple -o \ + "$dbussystem"/teamd.conf \ + "$dbussystemconfdir"/teamd.conf + # Install a configuration snippet to prevent the automatic creation of # "Wired connection #" DHCP connections for Ethernet interfaces inst_simple "$moddir"/initrd-no-auto-default.conf /usr/lib/NetworkManager/conf.d/