fix bug :3466290 lsslp -m -i plugin error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
1fbbcf8487
commit
bb2b37563b
@ -608,7 +608,7 @@ sub get_nic_ip
|
||||
$_ =~ /$mode / ) {
|
||||
my @ip = split /\n/;
|
||||
for my $ent ( @ip ) {
|
||||
if ($ent =~ /^(eth\d)\s+/) {
|
||||
if ($ent =~ /^(eth\d|ib\d|hf\d)\s+/) {
|
||||
$nic = $1;
|
||||
}
|
||||
if ( $ent =~ /^\s*inet addr:\s*(\d+\.\d+\.\d+\.\d+)/ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user