mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
Failed to run dhcpd if tftpserver defined as <xcatmaster> in the network (#3223)
table
This commit is contained in:
parent
cd1ad380d0
commit
56500ea6bf
@ -2457,10 +2457,11 @@ sub addnet
|
||||
{
|
||||
$tftp = $ent->{tftpserver};
|
||||
}
|
||||
else
|
||||
{ #presume myself to be it, dhcp no longer does this for us
|
||||
if (!$tftp || ($tftp eq '<xcatmaster>'))
|
||||
{
|
||||
$tftp = $myip;
|
||||
}
|
||||
|
||||
if ($ent and $ent->{gateway})
|
||||
{
|
||||
$gateway = $ent->{gateway};
|
||||
|
Loading…
x
Reference in New Issue
Block a user