The IPMI Set System Boot Options command provides an ability to request boot of a particular logical instance of the requested boot device type. The specification defines the following encoding of device instance:
00000b = no specific device instance requested
00001b to 01111b = external (direct attached) device instance 1 to 15, respectively
10000b = reserved
10001b to 11111b = internal device instance number 1 to 15, respectively
Implement a -l<num> command line option for specification of an internal logical device instance. Note that this would be used together with a device type option such as -f, -h, -p, -v
The implementation is limited to internal devices since those are more common; automatic conversion of a user-specified instance number [1..15] to its IPMI encoding [17..31] is intended to avoid user confusion.
This patch was developed and tested against 3.0.8, but applies to latest 3.1.x.
Fixed in ipmiutil-3.2.2