mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-05 09:48:31 +00:00
Fix the mlx driver name
It is mlx4_en, not mlx_en
This commit is contained in:
@@ -70,7 +70,7 @@ Generally, the genimage command has a default driver list which will be added to
|
||||
|
||||
The default driver list: ::
|
||||
|
||||
rh-x86: tg3 bnx2 bnx2x e1000 e1000e igb mlx_en virtio_net be2net
|
||||
rh-x86: tg3 bnx2 bnx2x e1000 e1000e igb mlx4_en virtio_net be2net
|
||||
rh-ppc: e1000 e1000e igb ibmveth ehea
|
||||
rh-ppcle: ext3 ext4
|
||||
sles-x86: tg3 bnx2 bnx2x e1000 e1000e igb mlx_en be2net
|
||||
|
@@ -270,7 +270,7 @@ if ($netdriver) {
|
||||
|
||||
# Add the default driver list
|
||||
if ($arch eq 'x86' or $arch eq 'x86_64') {
|
||||
push @ndrivers, qw/tg3 bnx2 bnx2x e1000 e1000e igb mlx_en virtio_net be2net/;
|
||||
push @ndrivers, qw/tg3 bnx2 bnx2x e1000 e1000e igb mlx4_en virtio_net be2net/;
|
||||
} elsif ($arch eq 'ppc64') {
|
||||
push @ndrivers, qw/e1000 e1000e igb ibmveth ehea/;
|
||||
} elsif ($arch eq 's390x') {
|
||||
|
@@ -185,7 +185,7 @@ if ($netdriver) {
|
||||
|
||||
# Add the default driver list
|
||||
if ($arch eq 'x86' or $arch eq 'x86_64') {
|
||||
push @ndrivers, qw/tg3 bnx2 bnx2x e1000 e1000e virtio_net virtio_balloon igb mlx_en be2net/;
|
||||
push @ndrivers, qw/tg3 bnx2 bnx2x e1000 e1000e virtio_net virtio_balloon igb mlx4_en be2net/;
|
||||
} elsif ($arch eq 'ppc64') {
|
||||
push @ndrivers, qw/tg3 e1000 e1000e igb ibmveth ehea be2net/;
|
||||
} elsif ($arch eq "s390x") {
|
||||
|
@@ -199,7 +199,7 @@ if ($netdriver) {
|
||||
}
|
||||
} else {
|
||||
if ($arch eq 'x86' or $arch eq 'x86_64') {
|
||||
@ndrivers = qw/tg3 bnx2 bnx2x e1000 e1000e igb mlx_en virtio_net/;
|
||||
@ndrivers = qw/tg3 bnx2 bnx2x e1000 e1000e igb mlx4_en virtio_net/;
|
||||
} elsif ($arch eq 'ppc64el') {
|
||||
@ndrivers = qw/bnx2 bnx2x e1000 e1000e igb mlx_en mlx4_en/;
|
||||
} elsif ($arch eq 'ppc64') {
|
||||
|
@@ -112,7 +112,7 @@ if [ ! -z "$DUMP" ]; then
|
||||
if (pmatch $OSVER "*10*"); then
|
||||
#run mkinitrd to generater the kdump-init base
|
||||
if (pmatch $ARCH "x86*"); then
|
||||
/sbin/mkinitrd -m "nfs tg3 bnx2 bnx2x e1000 e1000e igb mlx_en be2net af_packet firmware_class"
|
||||
/sbin/mkinitrd -m "nfs tg3 bnx2 bnx2x e1000 e1000e igb mlx4_en be2net af_packet firmware_class"
|
||||
else
|
||||
/sbin/mkinitrd -m "nfs be2net e1000e ibmveth igb firmware_class tg3 e1000"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user