Install the required keys from HPE.
curl https://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | apt-key add -
curl https://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | apt-key add -
curl https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -
Add the HPE repository to /etc/apt/sources.list
echo "deb https://downloads.linux.hpe.com/SDR/repo/mcp trusty/current non-free" >> /etc/apt/sources.list
apt-get update
HPONCFG utility is an online configuration tool used to setup and reconfigure iLO and RILOE II from within the Windows and Linux operating systems without requiring a reboot of the server operating system.
Install the hponcfg tool using the following command.
apt-get install hponcfg
Now just run the command with an output filename
hponcfg -a -w $(hostname).xml