FIX: Allow configuration of IPMI privilege level 56/1256/1
authordave kormann <davek@research.att.com>
Wed, 24 Jul 2019 15:32:19 +0000 (11:32 -0400)
committerdave kormann <davek@research.att.com>
Wed, 24 Jul 2019 15:32:19 +0000 (11:32 -0400)
commit3b665c4c4524f586c291935265a8613c8fe9c982
tree4b2ea6da1cac0bbee4c95f0f0c40d8ecdd886026
parentd5e8e4cb537ff07a58f774a16f764b137315ea32
FIX: Allow configuration of IPMI privilege level

When invoking the ipmitool command, if an IPMI privilege level is not
specified, the default is 'ADMINISTRATOR'.  In installations where the
IPMI user does not have this privilege level, this will cause IPMI
requests to fail.  This change updates the remote installer's
invocations of ipmitool to pass a configured privilege level.  If a
privilege level is not supplied in the host configuration, the code
defaults to 'ADMINISTRATOR' to mirror the ipmitool behavior.

Previous changes added this functionality to the config-manager
components; this change brings the remote installer into line
with those components.

signed-off-by: dave kormann <davek@research.att.com>
Change-Id: I752e53e0289b919430c2478bb1303f85e70f80ae
src/remoteinstaller/installer/bmc_management/bmctools.py
src/remoteinstaller/installer/bmc_management/hw17.py
src/remoteinstaller/installer/bmc_management/oe19.py
src/remoteinstaller/installer/bmc_management/or18.py
src/remoteinstaller/installer/bmc_management/rm18.py
src/remoteinstaller/installer/catfile.py
src/remoteinstaller/installer/install.py