mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-12 00:00:12 +00:00
Fix for bug 3952
Made makedhcp be able to handle the case where site.nameservers or networks.nameservers is a comma delimited list with <xcatmaster> keyword in it.
This commit is contained in:
@ -2176,10 +2176,7 @@ sub addnet
|
||||
}
|
||||
|
||||
# convert <xcatmaster> to nameserver IP
|
||||
if ($nameservers eq '<xcatmaster>')
|
||||
{
|
||||
$nameservers = $myip;
|
||||
}
|
||||
$nameservers =~ s/<xcatmaster>/$myip/g;
|
||||
|
||||
if (!$ntpservers || ($ntpservers eq '<xcatmaster>'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user