Resolves: rhbz#1185670 --- pyanaconda/install.py | 3 +++ pyanaconda/network.py | 3 +++ 2 files changed, 6 insertions(+)
diff --git a/pyanaconda/install.py b/pyanaconda/install.py index 51c42b9..d1ed6bb 100644 --- a/pyanaconda/install.py +++ b/pyanaconda/install.py @@ -213,6 +213,9 @@ def doInstall(storage, payload, ksdata, instClass): if not ksdata.bootloader.disabled: packages += storage.bootloader.packages
+ if network.is_using_team_device: + packages.append("teamd") + # don't try to install packages from the install class' ignored list and the # explicitly excluded ones (user takes the responsibility) packages = [p for p in packages diff --git a/pyanaconda/network.py b/pyanaconda/network.py index f86b0c2..7a74b90 100644 --- a/pyanaconda/network.py +++ b/pyanaconda/network.py @@ -1371,3 +1371,6 @@ def status_message():
def default_ks_vlan_interface_name(parent, vlanid): return "%s.%s" % (parent, vlanid) + +def is_using_team_device(): + return any(nm.nm_device_type_is_team(d) for d in nm.nm_devices())