mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-11 22:10:14 +00:00
refine the PR 3268:support service node pool (#3323)
Fix the issue that grub2 config file is wrong when node.tftpserver="<xcatmaster>"
This commit is contained in:
@@ -607,7 +607,7 @@ sub mknetboot
|
||||
$xcatmaster = '!myipfn!'; #allow service nodes to dynamically nominate themselves as a good contact point, this is of limited use in the event that xcat is not the dhcp/tftp server
|
||||
}
|
||||
|
||||
if ($ient and $ient->{tftpserver})
|
||||
if ($ient and $ient->{tftpserver} and $ient->{tftpserver} ne '<xcatmaster>')
|
||||
{
|
||||
$imgsrv = $ient->{tftpserver};
|
||||
}
|
||||
|
Reference in New Issue
Block a user