Skip to content

Commit

Permalink
force the enable call to allow many cisco ios platforms to work
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkala committed Mar 9, 2024
1 parent 9f9e2f4 commit 8000c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nornir_nautobot/plugins/tasks/dispatcher/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def get_config(
command = cls.config_command

try:
result = task.run(task=netmiko_send_command, command_string=command)
result = task.run(task=netmiko_send_command, command_string=command, enable=True)
except NornirSubTaskError as exc:
if isinstance(exc.result.exception, NetmikoAuthenticationException):
error_msg = f"`E1017:` Failed with an authentication issue: `{exc.result.exception}`"
Expand Down

0 comments on commit 8000c95

Please sign in to comment.