Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
relative tftp path for embedded script, pxelinux.0 behaviour
2021-05-11, 09:47 (This post was last modified: 2021-05-11 09:48 by pojntfx.)
Post: #10
RE: relative tftp path for embedded script, pxelinux.0 behaviour
An old thread, but as I still stumbled upon this issue in 2021: It is possible to use i.e. the `root-path` (17) DHCP option to find the absolute path from which iPXE was loaded, even if it is from an embedded script; I've created a repo which shows this in action: https://github.com/pojntfx/ipxe-binaries

Code:
#!ipxe

dhcp
chain tftp://${root-path}:69/config.ipxe
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: relative tftp path for embedded script, pxelinux.0 behaviour - pojntfx - 2021-05-11 09:47



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