mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-12 00:00:12 +00:00
-Have DHCPv4 specific operation specifically use IPv4 name resolution
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -313,7 +313,7 @@ sub addnode
|
||||
$hname = $node;
|
||||
} #Default to hostname equal to nodename
|
||||
unless ($mac) { next; } #Skip corrupt format
|
||||
my $ip = xCAT::Utils::getNodeIPaddress($hname);
|
||||
my $ip = inet_aton(inet_ntoa($hname)); #xCAT::Utils::getNodeIPaddress($hname);
|
||||
if ($hname eq '*NOIP*') {
|
||||
$hname = $node . "-noip".$mac;
|
||||
$hname =~ s/://g;
|
||||
|
Reference in New Issue
Block a user