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:
parent
ff4c96376c
commit
e89b79bcac
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user