Commit 049036f5 authored by Kirk Webb's avatar Kirk Webb

Bug Fix: Add missing mellanox Ethernet module loading script.

This was in the CENTOS63-64-STD image at APT, but not at the MS, and not
in the CENTOS66-64-STD image.  I must have added it by hand there. Now it
is installed as part of the client-side install for CentOS 6 flavors.
parent 3a2a21f1
...@@ -91,12 +91,14 @@ sysetc-install: ifcfgs dir-install ...@@ -91,12 +91,14 @@ sysetc-install: ifcfgs dir-install
$(INSTALL) -m 644 $(SRCDIR)/ifcfg-eth99 $(SYSETCDIR)/sysconfig/network-scripts $(INSTALL) -m 644 $(SRCDIR)/ifcfg-eth99 $(SYSETCDIR)/sysconfig/network-scripts
$(INSTALL) -m 644 ifcfg-eth[0-9]* $(SYSETCDIR)/sysconfig/network-scripts $(INSTALL) -m 644 ifcfg-eth[0-9]* $(SYSETCDIR)/sysconfig/network-scripts
$(INSTALL) -m 644 $(SRCDIR)/logrotate-syslog $(SYSETCDIR)/logrotate.d/syslog $(INSTALL) -m 644 $(SRCDIR)/logrotate-syslog $(SYSETCDIR)/logrotate.d/syslog
$(INSTALL) -m 755 $(SRCDIR)/mellanox.modules $(SYSETCDIR)/sysconfig/modules
-ln -sf $(SYSETCDIR)/dhclient-enter-hooks $(SYSETCDIR)/dhcp/dhclient-enter-hooks -ln -sf $(SYSETCDIR)/dhclient-enter-hooks $(SYSETCDIR)/dhcp/dhclient-enter-hooks
-ln -sf $(SYSETCDIR)/dhclient-exit-hooks $(SYSETCDIR)/dhcp/dhclient-exit-hooks -ln -sf $(SYSETCDIR)/dhclient-exit-hooks $(SYSETCDIR)/dhcp/dhclient-exit-hooks
sysetc-remove: sysetc-remove:
rm -rf $(SYSETCDIR)/modules.conf $(SYSETCDIR)/ntp.conf $(SYSETCDIR)/cron.pend rm -rf $(SYSETCDIR)/modules.conf $(SYSETCDIR)/ntp.conf $(SYSETCDIR)/cron.pend
# stuff we don't really need to do all the time and may not even be correct # stuff we don't really need to do all the time and may not even be correct
# or sufficient for all FCs # or sufficient for all FCs
sysetc-onceonly-install: sysetc-onceonly-install:
......
#!/bin/sh
MODLIST="mlx4_en mlx4_ib ib_umad ib_uverbs ib_ipoib ib_srp"
lsmod | grep -q mlx4_core
if [ $? -eq 0 ]; then
for mod in $MODLIST; do
modprobe $mod
done
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment