mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -2330,8 +2330,14 @@ sub get_all_nicips{ | ||||
|         if($_->{nicips}){ | ||||
|             my @nicandiplist = split(',', $_->{nicips}); | ||||
|             # Each record in @nicandiplist looks like "eth0:ip1" | ||||
| 			# delimiter has been changed to use "!"  in xCAT 2.8 | ||||
|             foreach (@nicandiplist){ | ||||
|                 my @nicandip = split(':', $_); | ||||
| 				my @nicandip; | ||||
| 				if ($_  =~ /!/) { | ||||
| 					@nicandip = split('!', $_); | ||||
| 				} else { | ||||
| 					@nicandip = split(':', $_); | ||||
| 				} | ||||
|                 if ($hashref){ | ||||
|                     $allipshash{$nicandip[1]} = 0; | ||||
|                 } else{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user