modify getmacs: write lowercase mac address for Firebird blade

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-06-25 02:17:48 +00:00
parent ff4c96376c
commit e89b79bcac

View File

@ -1814,6 +1814,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";
}