fix for bug 2976056: the physical location of HCA adapter on P7 HV32 is ended with C7. Add the C7 into the physical location check

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2010-03-25 13:58:13 +00:00
parent 3ef84dcad0
commit 10c218b70d

View File

@ -1285,7 +1285,7 @@ sub get_unassigned_iba
my $adapter_id = $1;
my $phys_loc = $2;
my $unassigned_guids = $3;
if ( $phys_loc =~ /C65$/ or $phys_loc =~ /C66$/)
if ( $phys_loc =~ /C65$/ or $phys_loc =~ /C66$/ or $phys_loc =~ /C7$/)
{
my @guids = split /,/, $unassigned_guids;
$max_ib_num = scalar( @guids) if (scalar( @guids) < $max_ib_num);