diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2022-08-31 16:12:00 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2022-09-01 12:37:42 +0200 |
commit | f315dab1f54d090eea3af931a43238fff2ea4c04 (patch) | |
tree | c7cd25629a20a525c866712803c16fa3a8ff2aec | |
parent | 7dccb5f548c5e31c5e4527be73df3481a2829d4a (diff) |
team: pass -N twice to teamdteamd-NN
With new teamd versions, this will indicate that we want the team ports to
be kept in place when teamd terminates. Old versions will ignore it and
behave like they always did.
This keeps the team operational when teamd drops off for a while e.g. on
transition from initrd to real root during network boot.
-rw-r--r-- | src/core/devices/team/nm-device-team.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/devices/team/nm-device-team.c b/src/core/devices/team/nm-device-team.c index e6d34266b1..13d55f0539 100644 --- a/src/core/devices/team/nm-device-team.c +++ b/src/core/devices/team/nm-device-team.c @@ -651,7 +651,7 @@ teamd_start(NMDeviceTeam *self) g_ptr_array_add(argv, (gpointer) "-U"); if (priv->teamd_dbus_watch) g_ptr_array_add(argv, (gpointer) "-D"); - g_ptr_array_add(argv, (gpointer) "-N"); + g_ptr_array_add(argv, (gpointer) "-NN"); g_ptr_array_add(argv, (gpointer) "-t"); g_ptr_array_add(argv, (gpointer) iface); |