[syslinux] TFTP prefix in pxelinux.0 ?
Frank Lin PIAT
fpiat at klabs.be
Wed Oct 14 09:58:49 PDT 2009
Hello,
I wonder if it is possible to change pxelinux.0's tftp prefix...
I want to setup a repository like that:
|-- dist1
| |-- pxelinux.cfg
| | `-- default
| `-- pxelinux.0
|-- dist2
| |-- pxelinux.cfg
| | `-- default
| `-- pxelinux.0
|-- pxelinux.cfg
| |-- default
| `-- menu.c32
`-- pxelinux.0
The file /pxelinux.cfg/default would contain something like that:
> LABEL dist1
> MENU LABEL dist1
> KERNEL dist1/pxelinux.0
> LABEL dist2
> MENU LABEL dist2
> KERNEL dist1/pxelinux.0
Then I want to either be able to get the DHCP to point to
/pxelinux.0 (which sets tftp prefix to "/")
or to point directly to a given distribution:
/dist1/pxelinux.0 (which sets tftp prefix to "/dist1")
The problem, is that that the path in dist1/pxelinux.cfg/default
are relative to the tftp prefix (which is set by the first pxelinux.0
instance)
Do you know how I can achieve this ?
Please CC me, as I am not subscribed to the list,
Franklin
More information about the Syslinux
mailing list