2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-12 06:20: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:
yangsong
2017-06-23 03:18:03 -05:00
committed by Bin Xu
parent 5cd9b632a1
commit f5126227ce

View File

@@ -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};
}