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:
wanghuaz 2010-08-09 07:53:23 +00:00
parent 2376ec6bac
commit aee2c913c6

View File

@ -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));