mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	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:
		@@ -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";
 | 
			
		||||
       }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user