Browse Source

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] d689380cfc
master
Dusty Mabe 4 years ago committed by Jóhann B. Guðmundsson
parent
commit
a97d2cedcf
  1. 5
      modules.d/35network-manager/module-setup.sh

5
modules.d/35network-manager/module-setup.sh

@ -38,6 +38,11 @@ install() { @@ -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/

Loading…
Cancel
Save