Re: [Etherboot-discuss] Deactivate/Activate gPXE

Shao Miller <[email protected]> Sat, 19 Dec 2009 17:03:19 -0500
Newsgroups gmane.network.etherboot.gpxe,gmane.network.etherboot.user
Message-ID <[email protected]>
Itay Gazit wrote:
> Hi,
>  
> I was asked to be able to activate/deactivate gPXE (deactivate - 
> remove it permanently from list of boot devices).
>  
> Assuming I can use non-volatile memory to keep the gPXE status.
>  
> How can I deactivate gPXE and activate it back via CLI?

One somewhat ugly way to do this would be to re-purpose the NVRAM's 
"filename" setting.  Then you would embed the following gPXE script:

#!gpxe
${filename}

gPXE could be de-activated when the "filename" setting is set to 
"exit".  It would be active if it was set to "autoboot".

You might also consider the gPXE mailing list at 
http://etherboot.org/mailman/listinfo/gpxe

- Shao Miller

_______________________________________________
gPXE mailing list
[email protected]
http://etherboot.org/mailman/listinfo/gpxe