diff options
Diffstat (limited to 'ironic_python_agent/hardware.py')
| -rw-r--r-- | ironic_python_agent/hardware.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ironic_python_agent/hardware.py b/ironic_python_agent/hardware.py index af71630c..42561c25 100644 --- a/ironic_python_agent/hardware.py +++ b/ironic_python_agent/hardware.py @@ -1111,9 +1111,10 @@ class GenericHardwareManager(HardwareManager): utils.try_execute('modprobe', 'ipmi_si') try: - # From all the channels 0-15, only 1-7 can be assigned to different - # types of communication media and protocols and effectively used - for channel in range(1, 8): + # From all the channels 0-15, only 1-11 can be assigned to + # different types of communication media and protocols and + # effectively used + for channel in range(1, 12): out, e = utils.execute( "ipmitool lan print {} | awk '/IP Address[ \\t]*:/" " {{print $4}}'".format(channel), shell=True) |
