diff options
| author | Geert Stappers <stappers@stappers.it> | 2023-01-05 00:21:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-04 15:21:47 -0800 |
| commit | 1c79728984af1b0b065ce5879581f41fa9f03da3 (patch) | |
| tree | 2a567b5d9542683f450b663d3bef91f218ab35d4 /docs | |
| parent | 046315273f2bdc6b268fc1d05704cbdbd42d29fb (diff) | |
feat: add human-friendly entry point
* Added /start as entry point, for humans and iPXE
The '/poll/1/${netX/mac:hexhyp}' is fairly iPXE internal, not something
that invites curious people to look better at shoelaces. Neither it is
looking nice in DHCP server configuration.
This change adds a HTTP handler for '/start'. And '/start' points
to '/poll/1/${netX/mac:hexhyp}'. The benefit of it is that human visible
documentation can replace the "voodoo" '/poll/1/${netX/mac:hexhyp}'
with "friendly" '/start'.
Because it is an addition are the existing HTTP handlers not effected,
neither the installed deployments effected.
Signed-off-by: Geert Stappers <stappers@stappers.it>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/shoelaces.8.scd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/shoelaces.8.scd b/docs/shoelaces.8.scd index 445994c..f803dd3 100644 --- a/docs/shoelaces.8.scd +++ b/docs/shoelaces.8.scd @@ -88,7 +88,7 @@ debug=true # dhcp.conf next-server <your-tftp-server>; if exists user-class and option user-class = "iPXE" { - filename "http://<shoelaces-server>/poll/1/${netX/mac:hexhyp}"; + filename "http://<shoelaces-server>/start"; } else { filename "undionly.kpxe"; } @@ -100,7 +100,7 @@ the following snippet: ``` dhcp-match=set:ipxe,175 # iPXE sends a 175 option. dhcp-boot=tag:!ipxe,undionly.kpxe -dhcp-boot=http://<shoelaces-server>/poll/1/${netX/mac:hexhyp} +dhcp-boot=http://<shoelaces-server>/start ``` A TFTP server such as *tftpd*(8) must be configured to serve the iPXE executable, |
