<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [gPXE] gPXE Feature Request: assigning customcommandstoexecute batch files</TITLE>
<STYLE></STYLE>
</HEAD>
<BODY bgColor="#ffffff">
<DIV><FONT face="Arial" size="2">after executing embedded image, gPXE
won't autoboot. if the embedded image does not boot something, gPXE will
unload, and the bios will continue to the next boot device.</FONT></DIV>
<DIV><FONT face="Arial" size="2"></FONT> </DIV>
<DIV><FONT face="Arial" size="2">Tal</FONT></DIV>
<BLOCKQUOTE dir="ltr" style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A href="mailto:Shao.Miller@yrdsb.edu.on.ca" title="Shao.Miller@yrdsb.edu.on.ca">Miller, Shao</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A href="mailto:tal.aloni.il@gmail.com" title="tal.aloni.il@gmail.com">Tal Aloni</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A href="mailto:gpxe@etherboot.org" title="gpxe@etherboot.org">gpxe</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 08, 2010 2:26
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [gPXE] gPXE Feature Request:
assigning customcommandstoexecute batch files</DIV>
<DIV><BR></DIV><!-- Converted from text/plain format -->
<P><FONT size="2">I don't quite know what you mean by "default to
autoboot()"...<BR><BR>#!gpxe<BR>set space:hex 20<BR><BR># Commands we
like<BR>set sanboot_cmd sanboot<BR>set chain_cmd chain<BR><BR># Append a
space<BR>set sanboot_cmd:hex ${sanboot_cmd:hex}:${space:hex}<BR>set
chain_cmd:hex ${chain_cmd:hex}:${space:hex}<BR><BR># SAN targets<BR>set win7
iscsi:192.168.0.100::::foo:win7<BR>set winxp
iscsi:192.168.0.100::::foo:winxp<BR><BR># Prepend sanboot command<BR>set
win7:hex ${sanboot_cmd:hex}:${win7:hex}<BR>set winxp:hex
${sanboot_cmd:hex}:${winxp:hex}<BR><BR># Chain targets<BR>set linux <A href="http://webserver/vmlinuz">http://webserver/vmlinuz</A><BR><BR># Prepend
chain command<BR>set linux:hex ${chain_cmd:hex}:${linux:hex}<BR><BR># Tell
user about choices<BR>echo Available boot options for CLI: win7, winxp,
linux<BR>echo Surround your choice with $ { and } characters, no
spaces.<BR><BR># Default to autoboot<BR>autoboot<BR><BR>- Shao
Miller<BR><BR>-----Original Message-----<BR>From: gpxe-bounces@etherboot.org
on behalf of Tal Aloni<BR>Sent: Mon 2/8/2010 6:27 AM<BR>To: gpxe<BR>Subject:
Re: [gPXE] [gPXE-devel] gPXE Feature Request: assigning
customcommandstoexecute batch files<BR><BR>thanks, nice to know,<BR>note that
the way you suggested can't default to
autoboot().<BR><BR>Tal<BR><BR><BR></FONT></P></BLOCKQUOTE></BODY></HTML>