pyntc
pyntc copied to clipboard
3750 IOS Boot Options don't meet the current code checks
Environment
- Python version: 3.8
- pyntc version: 1.0.0
Expected Behavior
Install_OS works on IOS regardless of which hardware or software is on the device.
Observed Behavior
Error:
INSTALL OS failed: CommandError: Command boot system flash was not successful: Unable to determine the boot system configuration syntax.
Steps to Reproduce
- Attempt to start a install_os, on a ios device (3750)
From the device perspective its appears to be a Cisco bug where nothing shows in show run | i boot system and show boot has different outputs than what is currently supported.
C3750-X#show run | i boot system
C3750-X#
C3750-X#show boot
BOOT path-list : c3750e-universalk9-mz.152-4.E10.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : yes
Manual Boot : no
Allow Dev Key : yes
HELPER path-list :
Auto upgrade : yes
Auto upgrade path :
NVRAM/Config file
buffer size: 524288
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)
This should go hand and hand with checking if a switch is part of a stack or not