From c5e6fa5e349a507a13d05dfe118c578294cd8780 Mon Sep 17 00:00:00 2001 From: Josh Poole Date: Mon, 21 Sep 2026 14:59:09 +0100 Subject: [PATCH] 20260921 - Stop the node_id placeholder looking like a real node network.node_id shipped as "ret000000000", which is close enough to a real id to be read as a live node in a config dump while being identical on every node in the fleet. It matches neither the ret + 8 hex format nor the retg + 15 hex one that replaces it. config-merger overwrites this from /data/mender/node_id on every merge and nothing derives an identity from node config, so the value is only ever a placeholder between first boot and the first merge. "unset" says that. Co-Authored-By: Claude Opus 5 (1M context) --- config/default.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/default.yml b/config/default.yml index 50cad7c..715ec2a 100644 --- a/config/default.yml +++ b/config/default.yml @@ -48,7 +48,13 @@ network: iqdata: 4002 config: 4003 - node_id: "ret000000000" + # Placeholder only. config-merger overwrites this with the real value from + # /data/mender/node_id on every merge, and nothing derives an identity from + # node config. It deliberately does not look like a node id: the old + # "ret000000000" was close enough to a real one to be mistaken for a live + # node in a config dump, and matches neither the ret<8 hex> nor the + # retg<15 hex> format. + node_id: "unset" # Forward detections to the retina-tracker sidecar. blah2_api enriches each # frame with ADS-B truth before forwarding, so the tracker gets the annotated