[gPXE] clear filename?

Binh Thai bthai at ncst.com
Sat Jun 5 10:37:00 EDT 2010


Hi Everyone,

 

I have an issue with gPXE as follows. First, gPXE is downloaded and it
does "autoboot" for which my DHCP server sends an HTTP url which points
to a script. gPXE executes the script which at the end does autoboot
again. But this time I instruct the DHCP server not to reply a boot file
name. Therefore, gPXE fails to get a boot file name. However, it still
retains the old HTTP url which it now thinks a new boot file name and it
tries to load the file from that url.

 

I don't want that to happen. I want gPXE's autoboot to fail completely
if it does not receive any new boot file name. So, I tried "clear
filename" before doing the second autoboot. It does not take effect. So,
I tried "set filename invalid". It does take effect. But now if gPXE
does indeed receive a new boot file name, it's HIDDEN by the "invalid"
value because it seems the SET command creates a global different
filename variable. Only after I clear the global filename variable will
gPXE see the new filename obtained from autoboot (or dhcp net0).

 

The question is how I can clear the filename that is set by autoboot or
dhcp net0?

 

Thanks a lot,

Arintel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://etherboot.org/pipermail/gpxe/attachments/20100605/eb060b86/attachment.html 


More information about the gPXE mailing list