<div class="gmail_quote">On Thu, May 20, 2010 at 1:50 PM, Miller, Shao <span dir="ltr">&lt;<a href="mailto:Shao.Miller@yrdsb.edu.on.ca">Shao.Miller@yrdsb.edu.on.ca</a>&gt;</span> wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;" class="gmail_quote">
Good day Jarrod,<br>
<br>
How about putting &#39;<a target="_blank" href="http://central_server/some_script.gpxe">http://central_server/some_script.gpxe</a>&#39; in as the<br>
filename?  Then some_script.gpxe could go:<br>
<br>
#!gpxe<br>
chain http://${next-server}/filename<br>
<br>
The ${} expansion is only applied for scripts and CLI at this time.<br>
<br>
If you are handing out a different next-server option, why is it more<br>
difficult to hand out an explicit filename option including the local<br>
server?<br>
<font color="#888888"><br>
- Shao Miller<br>
</font></blockquote></div><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; " class="Apple-style-span"><div>So, currently, that&#39;s how it goes and I used fixed-address declarations so looking up the &#39;best&#39; next-server isn&#39;t too hard.  Without fixed-address, things start getting tricky based on what I&#39;m trying to do.  While still possible for me to externally coordinate what network the booting device will land in, it would be much simpler for my purposes to inherit &#39;next-server&#39; from the &#39;subnet {}&#39; portion of dhcp, but I need to specify per-node paths at a host declaration level.  Things get hypothetically trickier if netboot with DHCPv6 comes into life following the rule in DHCPv6 where DUID is constant regardless of interface when I&#39;m dealing with multihomed devices.  There I might have a single host declaration that has to describe two network relationships, but that&#39;s all theoretical.</div>
<div><br></div><div>On a related note, is it horribly objectionable or a bad idea for expand_command  from exec.c to be called from boot_next_server_and_filename from autoboot.c?  Failing that I&#39;ll contemplate an embedded script, but lack of conditionals is gPXE scripting could prove to be a touchy thing.</div>
</span>