From e89b79bcac4ae7c3a89d97d570085f1181ddafe1 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Mon, 25 Jun 2012 02:17:48 +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/branches/2.7@13156 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 65a3badc6..66582c333 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -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"; }