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 {