Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PXE Dispatcher for iPXE
2011-04-05, 20:22
Post: #4
RE: PXE Dispatcher for iPXE
(2011-04-05 18:34)robinsmidsrod Wrote:  
(2011-04-05 18:24)mcb30 Wrote:  You need something like
Code:
sanboot ${root-path} ||
to prevent the script from exiting immediately if the sanboot command fails.
Actually, I don't expect the sanboot command to return in this case, and as you can see, I drop to the shell if it actually returns.

The sanboot command will never return successfully. If it returns at all, it will return with a failure, which will terminate the script before reaching the "drop to shell" line. (See http://ipxe.org/scripting#error_handling).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: PXE Dispatcher for iPXE - mcb30 - 2011-04-05, 18:24
RE: PXE Dispatcher for iPXE - mcb30 - 2011-04-05 20:22
RE: PXE Dispatcher for iPXE - mcb30 - 2011-04-06, 00:01
RE: PXE Dispatcher for iPXE - Sha0 - 2011-08-08, 15:46



User(s) browsing this thread: 1 Guest(s)