The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
relative tftp path for embedded script, pxelinux.0 behaviour
2012-07-21, 22:10
Post: #1
relative tftp path for embedded script, pxelinux.0 behaviour
I boot undionly.kpxe from tftp. Trivial script were embedded:

Code:
#!ipxe
dhcp
chain default.ipxe

Works well if undionly.kpxe and default.ipxe stored in tftp root directory. I move undionly.kpxe to subdirectory and change dhcp 067 option, but it search default.ipxe in tftp root, not subdirectory near undionly.kpxe.

I need pxelinux.0 behaviour. pxelinux.0 search for config starting from tftp path where pxelinux.0 loaded from, not from tftp root directory.

Something like:
Quote:If this command is executed from within an iPXE script, then the URI will be interpreted as being relative to the URI of the script itself. For example, if the script http://boot.ipxe.org/demo/boot.php contains the line
chain pxelinux.0
then iPXE will download and boot http://boot.ipxe.org/demo/pxelinux.0.
For embedded scripts.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
relative tftp path for embedded script, pxelinux.0 behaviour - aka - 2012-07-21 22:10



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