Adding a node
Quickest way:
scripts/node.sh add <name>asks what the node is and what it should run, writes the host table (and its vars file) for you, checks it, prints the exact steps to run on the node, andscripts/node.sh key <name>finishes the registration when the node prints its age key.scripts/node.sh edit <name>changes an existing node.scripts/audit.shshows what every node has and lacks. The manual steps below are what the wizard does.
-
Join it to Tailscale, then add it to
config/inventory/hosts.yml: key = its Tailscale hostname, withtype,site,util(services it provides) andfeat(agents it runs). -
Arcane edge agent: in the Arcane manager (your Arcane manager) run the edge-agent wizard, then put the token in
config/vars/host/<hostname>.ymlasarcane_agent_token(start fromexample-arcane-agent-host.yml). -
On the host, run the framework’s
hosts/bootstrap/bootstrap.sh:FRAMEWORK_REPO_URL=https://github.com/almadon/Consigliere.git \FLEET_CONFIG_REPO_URL=git@github.com:<you>/<fleet-name>.git \FLEET_CONFIG_REGISTER_TOKEN=<optional: lets it register its own deploy key> \./bootstrap.shWithout the token it prints the host’s deploy key and waits; add it as a read-only deploy key on
<you>/<fleet-name>. It then prints the host’s age public key: runscripts/access.sh add-host <name> <key>andscripts/access.sh sync, ship it through a pull request and merge it, then press Enter. The first run is check-only; approve the apply. -
scripts/preflight.sh --strictshould pass before you push config changes.