diff --git a/bin/netvm-names.sh b/bin/netvm-names.sh index f00e490..00ba8c7 100755 --- a/bin/netvm-names.sh +++ b/bin/netvm-names.sh @@ -13,5 +13,15 @@ netvm_names() { # (9410, 9420, ...) instead of the hash-derived default. # Unset = previous behavior. CDP_PORT=${CDP_PORT_OVERRIDE:-$(( 9222 + 0x${_tag:4:3} % 2000 ))} + # Pinned registry ports: single source of truth for the fleet. + # (Was previously duplicated in cdp-relay-watchdog.sh relay_target(); + # moved here 2026-10-04 so netvm-node-up.sh stops spawning wrong-port + # zombie relays on every browser relaunch.) + case "$NODE" in + muse) CDP_PORT=9410 ;; + pip) CDP_PORT=9420 ;; + 646) CDP_PORT=9430 ;; + opm) CDP_PORT=9440 ;; + esac GW="10.201.${_idx}.1"; PEER_IP="10.201.${_idx}.2"; SUB="10.201.${_idx}.0/30" }