call NetworkUtils.pm subroutines instead of Utils.pm subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
455c4d6c0a
commit
ca2139e2e5
@ -16,6 +16,7 @@ use Sys::Hostname;
|
||||
use xCAT::NodeRange;
|
||||
use xCAT::Schema;
|
||||
use xCAT::Utils;
|
||||
use xCAT::NetworkUtils;
|
||||
use xCAT::DBobjUtils;
|
||||
use Data::Dumper;
|
||||
use Getopt::Long;
|
||||
@ -1498,7 +1499,7 @@ sub mkNIMnetwork
|
||||
# if the ip address is in the subnet
|
||||
# the right interface
|
||||
if ( xCAT::Utils->ishostinsubnet($myIP, $nethash{$node}{mask}, $nethash{$node}{net} )) {
|
||||
$adapterhostname = xCAT::Utils->gethostname($myIP);
|
||||
$adapterhostname = xCAT::NetworkUtils->gethostname($myIP);
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user