From 07579206646a75f929b57f72630abfcb43e62763 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Mon, 25 Jun 2012 02:20:36 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/blade.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index fd0028354..9ef48ed11 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -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"; }