fixed the issue that bridge module cannot be loaded automatically on SL6.6

This commit is contained in:
WangXiaoPeng 2015-03-27 01:32:40 -04:00
parent 3cc5e0cdf4
commit 2fd0f59cca

View File

@ -116,6 +116,9 @@ if [ "storageprereq" = "$1" ]; then
mkdir -p /var/lib/xcat/vmnt/$DIRNAME
mount $MOUNTPATH /var/lib/xcat/vmnt/$DIRNAME
elif [ "bridgeprereq" = "$1" ]; then
# load the bridge module first
modprobe bridge
NETDESC="$2"
# get the port for installation
if [ -n "$INSTALLNIC" ]; then