modify getmacs: write lowercase mac address for Firebird blade

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-06-25 02:20:36 +00:00
parent 60a6b2d331
commit 0757920664

View File

@ -1818,6 +1818,7 @@ sub getmacs {
foreach my $midx ( @midxary) {
(my $macd,my $mac) = split (/:/,$macs[$midx],2);
$mac =~ s/\s+//g;
$mac =~ s/(.*)/\L$1/g;
if ($macd !~ /mac address \d/i) {
return 1,"Unable to retrieve MAC address for interface $midx from Management Module";
}