relative tftp path for embedded script, pxelinux.0 behaviour
|
2012-07-24, 19:33
Post: #5
|
|||
|
|||
RE: relative tftp path for embedded script, pxelinux.0 behaviour
(2012-07-24 18:45)robinsmidsrod Wrote: Relative paths should work.Relative paths work in downloaded scripts. Relative paths do not work in embedded script. I need relative paths in embedded script. I put undionly.kpxe into $TFTPROOT/long/long/path/ I put script default.ipxe into the same directory. I specify in 067 dhcp option "long/long/path/undionly.kpxe". I embed script into undionly.kpxe: Code: #!ipxe It does NOT work. It searches for default.ipxe in tftp root. Because relative paths do NOT work in embedded script. Ok, I embed script with path: Code: #!ipxe It works. In $TFTPROOT/long/long/path/default.ipxe i write: Code: #!ipxe And it works without full path. Because relative paths work in downloaded scripts. I need relative paths in embedded script. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)