DC-DC Stage 1 (dc-dc-phase0): first real execution + scaffold/tooling fixes
First end-to-end run of a DC-DC runbook against real infrastructure (vcloud host,
OpenTofu v1.12.3). Applied 13 libvirt objects (6 DC1 planes, dc1/office1/dc2
pools, office1-local, 3 mesh legs, all MTU 9000); prior VR0 nets torn down (wan
kept as a gap-#17 model); DC2 planes deferred (NetBox supernet), DC2 storage wired.

DOCFIX-178: scripts/prereqs/ idempotent workstation prereq installers + a
  Prerequisites section in the runbook + tests/prereqs/ (25/25). Runbooks must
  not assume prereq runtimes.
DOCFIX-179: OpenTofu scaffold first validation + apply. Per-module
  required_providers (child modules do NOT inherit provider SOURCE -> OpenTofu
  inferred nonexistent hashicorp/libvirt); tofu fmt -recursive; provider "maas"
  deferred to Stage 3 (kept a sensitive key out of Stage-1 plan/state);
  repo-lint now skips the .terraform/ provider cache; .terraform.lock.hcl added.
DOCFIX-180: dc-dc-phase0 runbook as-executed corrections folded in at phase
  close (two MTU domains, non-pristine-host handling, Step-9 13-resource plan,
  -input=false, Known-Gap resolved).

repo-lint 0 fail; prereqs harness 25/25; repo-lint harness 34/34.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4ec6bbe commit 340ac587f2e12b722d6a2b6c248857222b931ecb
@JANeumatrix JANeumatrix authored 2 hours ago
Showing 39 changed files
View
docs/changelog-20260710-opentofu-scaffold-first-validation.md 0 → 100644
View
docs/changelog-20260710-phase0-runbook-as-executed.md 0 → 100644
View
docs/changelog-20260710-prereq-install-scripts.md 0 → 100644
View
docs/dc-dc-deployment-workflow.md
View
docs/session-ledger.md
View
opentofu/.terraform.lock.hcl 0 → 100644
View
opentofu/README.md
View
opentofu/main.tf
View
opentofu/modules/base-image/variables.tf
View
opentofu/modules/base-image/versions.tf 0 → 100644
View
opentofu/modules/cloudinit-vm/main.tf
View
opentofu/modules/cloudinit-vm/variables.tf
View
opentofu/modules/cloudinit-vm/versions.tf 0 → 100644
View
opentofu/modules/dc-planes/variables.tf
View
opentofu/modules/dc-planes/versions.tf 0 → 100644
View
opentofu/modules/dc-storage-pool/variables.tf
View
opentofu/modules/dc-storage-pool/versions.tf 0 → 100644
View
opentofu/modules/maas-vm-host/variables.tf
View
opentofu/modules/maas-vm-host/versions.tf 0 → 100644
View
opentofu/modules/mesh-link/versions.tf 0 → 100644
View
opentofu/modules/netem-link/variables.tf
View
opentofu/modules/node-vm/main.tf
View
opentofu/modules/node-vm/variables.tf
View
opentofu/modules/node-vm/versions.tf 0 → 100644
View
opentofu/modules/office1-network/versions.tf 0 → 100644
View
opentofu/modules/opnsense-edge/variables.tf
View
opentofu/modules/opnsense-edge/versions.tf 0 → 100644
View
opentofu/variables.tf
View
runbooks/dc-dc-phase0-vcloud-prep.md
View
scripts/prereqs/README.md 0 → 100644
View
scripts/prereqs/check-prereqs.sh 0 → 100644
View
scripts/prereqs/install-all.sh 0 → 100644
View
scripts/prereqs/install-image-tools.sh 0 → 100644
View
scripts/prereqs/install-jq.sh 0 → 100644
View
scripts/prereqs/install-opentofu.sh 0 → 100644
View
scripts/prereqs/install-virtualization.sh 0 → 100644
View
scripts/prereqs/lib-prereq.sh 0 → 100644
View
scripts/repo_lint.py
View
tests/prereqs/run-tests.sh 0 → 100644