diff options
Diffstat (limited to 'internal/router/router.go')
| -rw-r--r-- | internal/router/router.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/router/router.go b/internal/router/router.go index d729d16..1313705 100644 --- a/internal/router/router.go +++ b/internal/router/router.go @@ -53,6 +53,9 @@ func ShoelacesRouter(env *environment.Environment) http.Handler { r.PathPrefix("/configs/").Handler(http.StripPrefix("/configs/", handlers.TemplateServer())) + // Starting point for iPXE boot agents, usualy defined by DHCP server. + // Gets the iPXE boot agents into the polling loop. + r.HandleFunc("/start", handlers.StartPollingHandler).Methods("GET") // Called by iPXE boot agents, returns boot script specified on the configuration // or if the host is unknown makes it retry for a while until the user specifies // alternative ipxe boot script |
