aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorGeert Stappers <stappers@stappers.it>2023-01-05 00:21:47 +0100
committerGitHub <noreply@github.com>2023-01-04 15:21:47 -0800
commit1c79728984af1b0b065ce5879581f41fa9f03da3 (patch)
tree2a567b5d9542683f450b663d3bef91f218ab35d4 /web
parent046315273f2bdc6b268fc1d05704cbdbd42d29fb (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 'web')
-rw-r--r--web/templates/html/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/templates/html/index.html b/web/templates/html/index.html
index 4f09ba9..ea93c01 100644
--- a/web/templates/html/index.html
+++ b/web/templates/html/index.html
@@ -31,7 +31,7 @@
<div class="center-block col-md-6">
<div class="card">
<div class="card-body">
- <p class="text-center">Shoelaces is waiting for a server to boot. Using iPXE, your server should reach the following endpoint: <br /> <b class="text-primary-custom">http://{{ .BaseURL }}/poll/1/&#60;MAC&#62;</b> </p>
+ <p class="text-center">Shoelaces is waiting for a server to boot. Using iPXE, your server should reach the following endpoint: <br /> <b class="text-primary-custom">http://{{ .BaseURL }}/start</b> </p>
<p class="text-center">You can automate this process by setting up a DHCP server.</p>
</div>
</div>
nihil fit ex nihilo