Skip to content

Commit

Permalink
Merge pull request #97 from stackhpc/nvue-nosudo-2024.1
Browse files Browse the repository at this point in the history
cumulus_nvue: Don't call enable() and set enter_config_mode = False - 2024.1
  • Loading branch information
mnasiadka authored Nov 6, 2024
2 parents 414b46a + bdb135f commit 3ce9491
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ def send_config_set(self, net_connect, cmd_set):
:returns: The output of the configuration commands.
"""
cmd_set.append('nv config apply --assume-yes')
net_connect.enable()
# NOTE: Do not exit config mode because save needs elevated
# privileges
return net_connect.send_config_set(config_commands=cmd_set,
cmd_verify=False,
enter_config_mode=False,
exit_config_mode=False)

0 comments on commit 3ce9491

Please sign in to comment.