diff --git a/repos/system_upgrade/common/actors/livemode/modify_userspace_for_livemode/libraries/prepareliveimage.py b/repos/system_upgrade/common/actors/livemode/modify_userspace_for_livemode/libraries/prepareliveimage.py index 3f1fb94c12..de6c346fff 100644 --- a/repos/system_upgrade/common/actors/livemode/modify_userspace_for_livemode/libraries/prepareliveimage.py +++ b/repos/system_upgrade/common/actors/livemode/modify_userspace_for_livemode/libraries/prepareliveimage.py @@ -269,7 +269,7 @@ def enable_dbus(context): raise StopActorExecutionError('Cannot enable the dbus services', details=details) -def setup_network(context, enable_nm): +def setup_network(context): """ Setup network for the livemode image. @@ -280,7 +280,7 @@ def setup_network(context, enable_nm): """ # TODO(mhecko): implementation here is incomplete # ideally we'd need to run 'nmcli con migrate' for the live mode. - if not enable_nm or get_target_major_version() < "9": + if get_target_major_version() < "9": return # 8>9 only network_scripts_path = '/etc/sysconfig/network-scripts'