Skip to content

Commit

Permalink
prepare_live_image: fix calling function with wrong number of args
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Hecko committed Aug 14, 2024
1 parent 215dde8 commit e61f179
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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'
Expand Down

0 comments on commit e61f179

Please sign in to comment.