-Fix error in dhcp.pm change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
32a0a48bdb
commit
024bd58060
@ -313,7 +313,7 @@ sub addnode
|
||||
$hname = $node;
|
||||
} #Default to hostname equal to nodename
|
||||
unless ($mac) { next; } #Skip corrupt format
|
||||
my $ip = inet_aton(inet_ntoa($hname)); #xCAT::Utils::getNodeIPaddress($hname);
|
||||
my $ip = inet_ntoa(inet_aton($hname)); #xCAT::Utils::getNodeIPaddress($hname);
|
||||
if ($hname eq '*NOIP*') {
|
||||
$hname = $node . "-noip".$mac;
|
||||
$hname =~ s/://g;
|
||||
|
Loading…
Reference in New Issue
Block a user