Commit ca08bc75 authored by Mike Hibler's avatar Mike Hibler

Always set the 'next-server' options when there is a TFTP subboss.

Previously, we were not doing this if there was a DHCP subboss (which,
in theory, should make the next-server line unnecessary since the client
should ignore us entirely). I have a vague recollection of some PXE caching
the wrong next-server value and this seemed to help at PRObE.
parent adc5e971
......@@ -307,6 +307,10 @@ while (<IF>) {
$hostname =
"${spaces}\toption host-name \"$node_id\";\n";
$booting = "${spaces}\tignore booting;\n";
if (defined $tftp_subbosses{$node_id}) {
$next_server = "${spaces}\tnext-server " .
$tftp_subbosses{$node_id} . ";\n";
}
}
else {
$hostname =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment