Skip to content

mooncake fleet mac-refresh

Read each peer's MAC over agentd and store it in peers.toml

Description

Contacts each selected peer's /v1/self/mac endpoint and upserts the returned MAC into peers.toml. Required as a one-time backfill before fleet up can wake a peer over Wake-on-LAN; fleet shutdown runs this implicitly right before powering off.

Flags

Flag Type Default Description
--peer []string - Select peers (in addition to positional args): repeat for UNION. Each value is a name, key=value filter, or @k=v,k2=v2 AND-group.
--peers-file string - Override the peers.toml path