-Fix problem in 2.4 where a refactoring removed code that gave explicit IP deassignment to *NOIP* mac addresses

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-04-01 19:10:37 +00:00
parent 717a5c9328
commit e196a2943f

View File

@ -207,6 +207,10 @@ sub addnode
if ( !defined($ip) ) {
$ip = "DENIED";
}
if ($hname eq '*NOIP*') {
$hname = $node . "-noip".$mac;
$hname =~ s/://g;
}
if ($guess_next_server and $ip ne "DENIED")
{
$nxtsrv = xCAT::Utils->my_ip_facing($hname);