From badef3d17d9d97833208ad49fcb5a46efb5e84ad Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Fri, 9 Mar 2012 09:08:13 +0000 Subject: [PATCH] not check the installnic or primarynic param in getmacs git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index e95e11747..ab115626a 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -1788,11 +1788,7 @@ sub getmacs { } if ($mkey) { while ( $nent->{$mkey} =~ /(\d+)/g ) { - my $nic = $1; - if ($nic !~ /[1234]/) { - return -1, "noderes.$mkey is not correct"; - } - push @midxary,$nic; + push @midxary,$1; } } } else {