Use lanplus interface for ipmitool when environment requires it

In some scenarios, the use of lanplus to operate with ipmitool is required. In this case, you can follow next procedure to enable lanplus utilization by default.

1.) Rename the ipmitool binary
mv /usr/bin/ipmitool /usr/bin/ipmitool.org

2.) Create a new ipmitool executable script:
vi /usr/bin/ipmitool

With this content:

#!/bin/bash

description="-I lanplus $@"
binary=/usr/bin/ipmitool.org

cmd="$binary $description"

eval $cmd

3.) Give execution permission to the script
chmod +x /usr/bin/ipmitool

4.) Exclude ipmitool from yum update
Add to the yum.conf:

exclude=OpenIPMI-tools*


Now, Abiquo is working with ipmitool on lanplus interface.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk