Files
Vetting/internal/web/embed.go
T
josh 8b3d9a312e
CI / Lint + build + test (push) Failing after 5m15s
Add quick-register one-liner for target-host registration
Operator pastes `curl -fsSL $ORCH/register/quick.sh | sudo bash` on the
target host (pre-wipe). The script probes MAC + CPU/RAM/disks/NICs/GPUs,
emits an expected-spec YAML, and POSTs to a new LAN-trusted JSON
endpoint /api/v1/hosts. The register page shows the command prefilled
with the orchestrator URL; the manual form moves into a collapsible
"Register manually" disclosure.
2026-04-17 22:50:54 -04:00

10 lines
119 B
Go

package web
import "embed"
//go:embed static/*
var Static embed.FS
//go:embed register/*.tmpl
var Register embed.FS