Tailnet discovery skill: built in 16e5a9c, only the headscale checks remain
shellcheck / shellcheck (push) Failing after 1m24s
shellcheck / shellcheck (push) Failing after 1m24s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: coredesktop-tailnet-discovery
|
||||
description: Plan and progress for making configure storage and configure ai-servers find servers on the Core's tailnet (Tailscale/headscale) as well as over mDNS, so a laptop away from home still finds the MiniServer and the LLM box. Use when resuming, continuing, checking the status of, or changing tailnet discovery, configure.d/lib/tailnet.sh, find_storage or find_servers.
|
||||
description: Plan and progress for making configure storage and configure ai-servers find servers on the Core's tailnet (Tailscale/headscale) as well as over mDNS, so a laptop away from home still finds the MiniServer and the LLM box. All six steps are built (commit 16e5a9c); what's left is checking it against a real headscale. Use when resuming, continuing, checking the status of, or changing tailnet discovery, configure.d/lib/tailnet.sh, find_storage or find_servers.
|
||||
---
|
||||
|
||||
# Find servers on the tailnet, not only the LAN
|
||||
@@ -8,7 +8,13 @@ description: Plan and progress for making configure storage and configure ai-ser
|
||||
## Where things stand
|
||||
|
||||
This plan was written on 2026-11-17 from the MiniServer session, against
|
||||
CoreDesktop `ffbaf71`. Nothing in it was built then. Check before starting:
|
||||
CoreDesktop `ffbaf71`. All six steps below were built the same day in
|
||||
`16e5a9c` ("Find storage and AI servers on the tailnet, not only over mDNS"):
|
||||
`configure.d/lib/tailnet.sh`, tailnet peers in `find_servers` and
|
||||
`find_storage`, a machine found both ways listed once by its tailnet name (the
|
||||
recommended choice in step 4), tailnet servers mounted at `/mnt/<short name>`,
|
||||
tests in `tests/network.bats`, and the README. What's left is "To verify" at
|
||||
the end, which needs a real headscale. Check before starting:
|
||||
|
||||
```
|
||||
git -C ~/Projects/coredesktop fetch && git -C ~/Projects/coredesktop log --oneline origin/main -10
|
||||
@@ -16,8 +22,8 @@ ls ~/Projects/coredesktop/configure.d/lib/tailnet.sh 2>/dev/null
|
||||
grep -n 'tailnet' ~/Projects/coredesktop/configure.d/50-ai-servers.sh ~/Projects/coredesktop/configure.d/60-storage.sh
|
||||
```
|
||||
|
||||
Map what you find onto the steps below, tell the user which step is next, and
|
||||
confirm before starting it.
|
||||
Tell the user which of the "To verify" items are still open, and confirm
|
||||
before changing anything.
|
||||
|
||||
## Why
|
||||
|
||||
@@ -157,7 +163,7 @@ Run `make check`.
|
||||
(its `.claude/skills/coredesktop-sync`), it has no `configure storage`, so
|
||||
only the shared lib and any ai-servers part would apply.
|
||||
|
||||
## To verify (unconfirmed when written)
|
||||
## To verify (still open: needs a real headscale)
|
||||
|
||||
- **MagicDNS in headscale.** Names like `box.tail.example` resolve only with
|
||||
`dns.magic_dns: true` in headscale's config. If they don't, use the peer's
|
||||
|
||||
Reference in New Issue
Block a user