Document hostname check
CI / tests (Python 3.10) (pull_request) Successful in 20s
CI / tests (Python 3.11) (pull_request) Successful in 20s
CI / tests (Python 3.12) (pull_request) Successful in 20s
CI / tests (Python 3.13) (pull_request) Successful in 21s
CI / lint (pull_request) Successful in 2s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
patrickandClaude Sonnet 5.5 committed 2026-10-29 21:17:40 -04:00
1 parent 63ca790779
commit 201a1c5f4b
1 file changed
+7
+7
View File
@@ -59,6 +59,13 @@ How the agent works it out:
- **Agent version**: each report includes it. Hosts running an older agent - **Agent version**: each report includes it. Hosts running an older agent
than the server shipped with get a note to run `agent/deploy.sh`; their status than the server shipped with get a note to run `agent/deploy.sh`; their status
isn't changed. isn't changed.
- **Hostname check**: each report includes the host's own name. If its first
DNS label differs from the name the host is registered under (ignoring case),
the row gets a note: "registered as web01 but reports itself as db01". This
catches a token copied to the wrong machine. It never changes the status. A
host you registered under a custom label (`<ssh target> <name>` in
`agent/hosts`) will always show the note; register it under its `hostname -s`
to clear it.
- **Available updates**: a simulated `apt-get dist-upgrade`. It is read-only, takes - **Available updates**: a simulated `apt-get dist-upgrade`. It is read-only, takes
no locks and writes no cache files. `dist-upgrade` is used so that new-ABI kernel no locks and writes no cache files. `dist-upgrade` is used so that new-ABI kernel
packages pulled in by the meta-package show up. Lines whose origin contains packages pulled in by the meta-package show up. Lines whose origin contains