DOCFIX-166: $DC parameterization for reenroll-hosts/carve-host-interfaces/phase-00-maas-standup (gap #15, CLI half)
Each script gained an opt-in $DC env var, calling lib_net_select_dc/
lib_hosts_select_dc immediately after sourcing (unset $DC is byte-for-byte
unchanged VR0/DC0 behavior -- verified directly, no fixtures needed since
the selector calls sit before any MAAS call). DC=dc1 bash
scripts/phase-00-maas-standup.sh is now a real, correct, gated call
(D-101 makes dc1's target identical to dc0's); DC=dc1/dc2 for the other
two scripts still fails loud at the host selector until real per-DC host
data exists. New/extended test cases across three harnesses. Six of gap
#15's seven sub-findings remain open -- said plainly, not overclaimed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QrcJx8TUar7pYAvpGJw57A
1 parent 169703d commit 7deea4a95e03335f022e22d8e8c6ffa95462c7ae
@JANeumatrix JANeumatrix authored 1 hour ago
Showing 10 changed files
View
docs/changelog-20260709-maas-scripts-dc-param.md 0 → 100644
View
runbooks/dc-dc-phase3-maas-enlist-deploy.md
View
scripts/carve-host-interfaces.sh
View
scripts/phase-00-maas-standup.sh
View
scripts/reenroll-hosts.sh
View
tests/carve-host-interfaces/run-tests.sh
View
tests/phase-00-maas-standup/run-tests.sh
View
tests/reenroll-hosts/fakebin/maas 0 → 100644
View
tests/reenroll-hosts/fix/machines_empty.json 0 → 100644
View
tests/reenroll-hosts/run-tests.sh 0 → 100644