|
DOCFIX-145 + OPNsense deployment research
opentofu/modules/base-image + modules/cloudinit-vm: the cloud-init/pre-built- image VM pattern for Office1's own service VMs (MAAS-region, NetBox, GitBucket), verified against examples/alpine_cloudinit.tf. The base image's .path is threaded across the module boundary as a real attribute reference rather than reconstructed from pool+name strings. user_data/meta_data/ network_config are required inputs with no default -- the real Office1 VM configs aren't designed yet, and a plausible DHCP default would silently fail anyway since these planes carry no libvirt DHCP. OPNsense research (no DOCFIX -- research delivery, not code): checked OPNsense's own docs/forum/GitHub. Confirmed cloud-init is genuinely unreliable on OPNsense (FreeBSD; OPNsense's own forum consensus), closing the open question cloudinit-vm's build left. Found the real mechanism: the Configuration Importer scans an attached volume for /conf/config.xml in a 2-3s boot window; ISO9660 support was added to it specifically for VM/cloud automation -- mechanically identical to cloudinit-vm's cdrom-attach shape, different payload. Use the nano image for KVM, not the installer images. Fully sourced in opentofu/README.md. Not built yet, itemized: a decompress/ convert preprocessing script, an ISO9660 config.xml-seed builder, and the real config.xml content. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QrcJx8TUar7pYAvpGJw57A |
|---|
|
|
| docs/changelog-20260709-opentofu-cloudinit-vm.md 0 → 100644 |
|---|
| docs/changelog-20260709-opnsense-research.md 0 → 100644 |
|---|
| docs/dc-dc-deployment-workflow.md |
|---|
| docs/session-ledger.md |
|---|
| opentofu/README.md |
|---|
| opentofu/modules/base-image/main.tf 0 → 100644 |
|---|
| opentofu/modules/base-image/outputs.tf 0 → 100644 |
|---|
| opentofu/modules/base-image/variables.tf 0 → 100644 |
|---|
| opentofu/modules/cloudinit-vm/main.tf 0 → 100644 |
|---|
| opentofu/modules/cloudinit-vm/outputs.tf 0 → 100644 |
|---|
| opentofu/modules/cloudinit-vm/variables.tf 0 → 100644 |
|---|