mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	remove the comment line in out of '/usr/sbin/lsnim -a if1 -Z master'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -7902,7 +7902,15 @@ sub checkNIMnetworks | ||||
|                 return 1; | ||||
|             } | ||||
|  | ||||
|             my ($junk1, $junk2, $adapterhost) = split(':', $ifone); | ||||
|             my $junk1; | ||||
|             my $junk2; | ||||
|             my $adapterhost; | ||||
|             my @ifcontent = split('\n',$ifone); | ||||
|             foreach my $line (@ifcontent) { | ||||
|                 next if (/#/); | ||||
|                 ($junk1, $junk2, $adapterhost) = split(':', $line); | ||||
|                 last; | ||||
|             } | ||||
|  | ||||
|             #my $adapterIP = inet_ntoa(inet_aton($adapterhost)); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user