Skip to content

Commit

Permalink
Fix publish hostname paramters
Browse files Browse the repository at this point in the history
  • Loading branch information
maddieford committed Feb 3, 2024
1 parent 1a2e888 commit 76e57ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azurelinuxagent/common/osutil/redhat.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def check_and_recover_nic_state(self, ifname):
# TODO: Implement and test a way to recover the network interface for RedhatOSModernUtil
pass

def publish_hostname(self, hostname):
def publish_hostname(self, hostname, recover_nic=False):
# RedhatOSUtil was updated to conditionally run NetworkManager restart in response to a race condition between
# NetworkManager restart and the agent restarting the network interface during publish_hostname. Keeping the
# NetworkManager restart in RedhatOSModernUtil because the issue was not reproduced on these versions.
Expand Down

0 comments on commit 76e57ed

Please sign in to comment.