mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Load ipmi_powernv for ppc64 arch
This commit is contained in:
parent
4c3404619f
commit
108943ee74
@ -109,8 +109,12 @@ if ! ipmitool -V 2>/dev/null| grep "version"; then
|
||||
fi
|
||||
|
||||
# Add ipmi_devintf module to allow the ipmitool operation in-band
|
||||
if grep -q "^ppc64" <<< "$(uname -m)"; then
|
||||
modprobe ipmi_powernv
|
||||
else
|
||||
modprobe ipmi_si
|
||||
fi
|
||||
modprobe ipmi_devintf
|
||||
modprobe ipmi_si
|
||||
|
||||
for parm in `cat /proc/cmdline`; do
|
||||
key=`echo $parm|awk -F= '{print $1}'`
|
||||
|
Loading…
x
Reference in New Issue
Block a user