Fall back to old boot.ipxe behaviour if inc command is not found
We introduced looping over all NIC's as on older iPXE ROM's ${mac} variable
does not always point to the PXE-booting NIC. However, CentOS/RHEL ship
even older iPXE ROM that does not even have inc command at all.
This patch restores the old behaviour of relying on ${mac} variable when
inc command cannot be executed. It's still not perfect and might break
sometimes, but it won't be completely broken. Nothing is changes for users
for which inc command is already working.
Reviewed: https:/ /review. openstack. org/250745 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=f968e1a22d3 ed928278a04f0da 9124678474ff0a
Committed: https:/
Submitter: Jenkins
Branch: master
commit f968e1a22d3ed92 8278a04f0da9124 678474ff0a
Author: Dmitry Tantsur <email address hidden>
Date: Fri Nov 27 11:59:32 2015 +0100
Fall back to old boot.ipxe behaviour if inc command is not found
We introduced looping over all NIC's as on older iPXE ROM's ${mac} variable
does not always point to the PXE-booting NIC. However, CentOS/RHEL ship
even older iPXE ROM that does not even have inc command at all.
This patch restores the old behaviour of relying on ${mac} variable when
inc command cannot be executed. It's still not perfect and might break
sometimes, but it won't be completely broken. Nothing is changes for users
for which inc command is already working.
Change-Id: I30b8c0e4ab0766 84ea9baa042e5a9 a4f44da9a3a
Closes-Bug: #1507738