From 10c218b70d9e3f21c72dbea7ef8bd0e392e68e7b Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 25 Mar 2010 13:58:13 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/PPCvm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/PPCvm.pm b/perl-xCAT/xCAT/PPCvm.pm index 14081e6c4..7beacc1b9 100644 --- a/perl-xCAT/xCAT/PPCvm.pm +++ b/perl-xCAT/xCAT/PPCvm.pm @@ -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);