From a7537857db9b04caae76507e2a7cb61bf5614b20 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Wed, 22 May 2013 06:13:18 +0000 Subject: [PATCH] fix bug 3583: mkhwconn -s cannnot work for firebird in rh mn git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCconn.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl-xCAT/xCAT/PPCconn.pm b/perl-xCAT/xCAT/PPCconn.pm index 6e83ccd8a..f34d9b137 100644 --- a/perl-xCAT/xCAT/PPCconn.pm +++ b/perl-xCAT/xCAT/PPCconn.pm @@ -490,6 +490,9 @@ sub mkhwconn my $ntype = $$d[4]; if ($ntype =~ /^(cec|frame|blade)$/) { + if ($ntype eq "blade") { + delete $opt->{port}; + } $cnode = xCAT::DBobjUtils::getchildren($node_name, $opt->{port}); } else { $cnode = $node_name;