Replaces the brittle `hosts/$(hostname|lower)` assumption with a scan of hosts/*/host.yaml for a matching os_hostname field. This fixes VPS where the OS hostname (ubuntu-4gb-hel1-1) never matched the repo directory (hosts/vps/), causing a silent "No services found" false-green. Fallback to lowercase-hostname dir preserved for nodes that haven't yet received the os_hostname field; exits 1 with a clear message if neither match nor fallback directory exists. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bootstrap | ||
| deploy | ||
| dev | ||
| lib | ||
| monitor | ||
| observer | ||
| onboard | ||
| bootstrap.sh | ||