diff options
| author | Geert Stappers <stappers@stappers.it> | 2023-01-21 21:32:53 +0100 |
|---|---|---|
| committer | Raul Benencia <46945030+raul-te@users.noreply.github.com> | 2023-01-23 10:21:36 -0800 |
| commit | 8b80016174c3e1be05007edfb78772f28e099891 (patch) | |
| tree | e5b87812f07157a6c8e939c75dae14052685cd1e /internal | |
| parent | 5d7eada10a8d8dc0555b7faa93a89bc4bd9954e5 (diff) | |
Style: How client and server interact during poll
The iPXE client just repeats the same request, a.k.a. "polling".
It is the Shoelaces server that can break the polling loop.
Either by handing out automated boot entry point based on IP address
or DNS PTR record, hand picked boot entry point from Web UI
or due retry maximum reached.
Signed-off-by: Geert Stappers <stappers@stappers.it>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/polling/polling.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/polling/polling.go b/internal/polling/polling.go index 7b1235b..875d8db 100644 --- a/internal/polling/polling.go +++ b/internal/polling/polling.go @@ -51,7 +51,7 @@ const ( " && chain -ar http://{{.baseURL}}/ipxemenu \\\n" + " || chain -ar http://{{.baseURL}}/poll/1/{{.macAddress}}\n\n" + "# Note: the iPXE client will see the above code as an endless loop.\n" + - "# However, Shoelaces will break that loop after a fixed number of retries.\n" + "# However, Shoelaces server can break that loop to enable further booting.\n" timeoutScript = "#!ipxe\n" + "echo\n" + |
