Skip to content

Commit

Permalink
Bugfix in _get_image_install_mode()
Browse files Browse the repository at this point in the history
  • Loading branch information
austind committed Jun 16, 2021
1 parent 22191b5 commit 8758c4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iosfw/iosfw.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,9 @@ def _get_image_install_mode(self):
""" Returns either install or bundle """
cmd = "show version"
output = self.device.send_command(cmd)
if "INSTALL" in output:
if "INSTALL" in output or 'packages.conf' in output:
return "install"
if "BUNDLE" in output:
else:
return "bundle"

def _check_image_feature_set(self, file_name):
Expand Down

0 comments on commit 8758c4c

Please sign in to comment.