Three idempotent stages with guards (probe-before-mutate), rrun() for all remote mutations, rprobe() for unconditional state queries. Reads hardware.swap.mb from node.yaml (default 2048 MB). Adds swap.mb: 2048 to hosts/lustro/node.yaml so the value is declarative. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
33 lines
842 B
YAML
33 lines
842 B
YAML
# hosts/lustro/node.yaml — LUSTRO edge node manifest
|
|
# First-contact bootstrap: scripts/onboard/onboard.sh --node lustro --step 00-access
|
|
# Full onboarding: scripts/onboard/onboard.sh --node lustro
|
|
|
|
name: LUSTRO
|
|
role: edge
|
|
location: KEN
|
|
|
|
ssh_user: pi
|
|
first_contact: pi@192.168.31.19 # LAN IP KEN; mDNS .local zawodny; mesh przejmuje po tailscale up
|
|
|
|
tailscale:
|
|
hostname: lustro
|
|
# ip: TODO — fill after tailscale join (step 30-install-tailscale)
|
|
|
|
deploy_autonomy: true # onboard.sh may run mutating steps autonomously
|
|
git_control: false # node does NOT pull from Forgejo; push-based via SATURN
|
|
|
|
hardware:
|
|
arch: arm64
|
|
ram_mb: 4096
|
|
swap:
|
|
kind: zram
|
|
mb: 2048
|
|
docker_present: true
|
|
mm_runtime: systemd:magicmirror.service
|
|
|
|
services:
|
|
node-agent:
|
|
runtime:
|
|
engine: docker
|
|
mem_limit: 256m
|