# ๐Ÿ“– Documentation Index [![Pipeline](https://img.shields.io/badge/Pipeline-Packer%20โ†’%20OpenTofu%20โ†’%20Forgejo-blue)](.forgejo/workflows/release.yml) [![Windows](https://img.shields.io/badge/Windows-11%20LTSC%202024-0078D6?style=flat&logo=windows)](https://www.microsoft.com/en-us/windows/windows-11-enterprise) ## Welcome This is the comprehensive documentation index for the **Windows Automation on Proxmox** project. Use this guide to navigate through all available documentation. --- ## ๐Ÿ—‚๏ธ Documentation Map ``` โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ DOCUMENTATION TREE โ”‚ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค โ”‚ โ”‚ โ”‚ ๐Ÿ“„ index.md (You are here) โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“ 01-overview/ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ“„ architecture.md โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ System Components โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Architecture Diagrams โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ Design Decisions โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“ 02-prerequisites/ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ isos.md โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ISO Download Sources โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Storage Location โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ Verification Steps โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ“„ secrets.md โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Forgejo Secrets โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Proxmox API Tokens โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ Certificate Management โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“ 03-packer/ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ configuration.md โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Packer HCL Syntax โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Proxmox Builder Settings โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ Provisioner Configuration โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ“„ autounattend.md โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ XML Structure โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ WinRM Configuration โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ FirstLogonCommands โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“ 04-terraform/ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ main.tf.md โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Provider Configuration โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ VM Resource Definition โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ Clone Strategy โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ“„ variables.md โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Input Variables โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ Variable Validation โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“ 05-ansible/ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ“„ pipeline.md โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Playbook Structure โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ WinRM Setup โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ Verification Tasks โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“ 06-ci-cd/ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ“„ forgejo-workflows.md โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Workflow Syntax โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Container Configuration โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Step-by-Step Execution โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ Environment Variables โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ“ 07-advanced/ โ”‚ โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ evaluation.md โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 90-Day Timer Management โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Rearm Procedure โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ Monthly Rebuild Strategy โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ๐Ÿ“„ troubleshooting.md โ”‚ โ”‚ โ”œโ”€โ”€ Common Errors โ”‚ โ”‚ โ”œโ”€โ”€ Debug Techniques โ”‚ โ”‚ โ””โ”€โ”€ FAQ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ ``` --- ## ๐ŸŽฏ Quick Navigation ### I want to... | Goal | Start Here | |------|------------| | **Understand the system** | [Architecture Overview](01-overview/architecture.md) | | **Set up prerequisites** | [ISO Requirements](02-prerequisites/isos.md) | | **Build the golden image** | [Packer Configuration](03-packer/configuration.md) | | **Provision test VMs** | [OpenTofu Resources](04-terraform/main.tf.md) | | **Run the CI/CD pipeline** | [Forgejo Workflows](06-ci-cd/forgejo-workflows.md) | | **Troubleshoot issues** | [Troubleshooting Guide](07-advanced/troubleshooting.md) | --- ## ๐Ÿ“Š Architecture Overview ```mermaid graph TD subgraph CI["Forgejo CI/CD"] direction LR Git[Git Push] --> |Triggers| WF[Workflow] WF --> |Cross-Compile| MC[MinGW] WF --> |Package| NS[NSIS] WF --> |Sign| CS[Code Sign] end subgraph Infra["Infrastructure"] CS --> |Provision| TF[OpenTofu] TF --> |Clone| VM[Windows VM] end subgraph Test["Testing"] VM --> |Deploy| Inst[Installer] Inst --> |Verify| Ans[Ansible] Ans --> |Result| Pass{โœ… Pass} Ans --> |Result| Fail{โŒ Fail} end style CI fill:#e1f5fe style Infra fill:#e8f5e9 style Test fill:#fff3e0 ``` --- ## ๐Ÿ“š Section Descriptions ### 01. Overview - **[architecture.md](01-overview/architecture.md)** - Complete system design including: - Component overview - Data flow diagrams - Design decisions and rationale - Technology stack explanation ### 02. Prerequisites - **[isos.md](02-prerequisites/isos.md)** - ISO image requirements: - Download links for Windows ISOs - VirtIO driver sources - Proxmox storage configuration - File verification steps - **[secrets.md](02-prerequisites/secrets.md)** - Credential management: - Forgejo secret configuration - Proxmox API token creation - Code signing certificate handling - Environment variable mapping ### 03. Packer - **[configuration.md](03-packer/configuration.md)** - Packer template guide: - HCL syntax reference - Proxmox builder settings - Hardware configuration - Provisioner scripts - **[autounattend.md](03-packer/autounattend.md)** - Windowsๆ— ไบบๅ€ผๅฎˆๅฎ‰่ฃ…: - XML structure reference - WinRM enabling - Firewall configuration - FirstLogonCommands่ฏฆ่งฃ ### 04. Terraform/OpenTofu - **[main.tf.md](04-terraform/main.tf.md)** - Infrastructure as code: - Provider configuration - VM cloning strategy - Network settings - IP address assignment - **[variables.md](04-terraform/variables.md)** - Variables reference: - Input variable definitions - Default values - Variable validation - Sensitive value handling ### 05. Ansible - **[pipeline.md](05-ansible/pipeline.md)** - Automation playbook: - WinRM connection setup - File transfer tasks - Silent installation - Verification assertions - Error handling ### 06. CI/CD - **[forgejo-workflows.md](06-ci-cd/forgejo-workflows.md)** - Pipeline configuration: - Workflow syntax - Container images - Step-by-step execution - Artifact publishing - Cleanup procedures ### 07. Advanced - **[evaluation.md](07-advanced/evaluation.md)** - Evaluation management: - 90-day expiration explained - Rearm procedure - Automated rebuild strategy - Security considerations - **[troubleshooting.md](07-advanced/troubleshooting.md)** - Problem resolution: - Common error messages - Debug commands - Log file locations - FAQ section --- ## ๐Ÿ”— Cross-References This documentation is fully interlinked. Key cross-references include: | From | To | Context | |------|-----|---------| | README | docs/index.md | Documentation entry | | architecture.md | isos.md | Prerequisites section | | configuration.md | autounattend.md | Related Packer topics | | main.tf.md | variables.md | Terraform variables | | forgejo-workflows.md | pipeline.md | Ansible integration | | pipeline.md | main.tf.md | Infrastructure reference | | troubleshooting.md | All sections | Problem resolution | --- ## ๐Ÿ› ๏ธ Tool Reference | Tool | Version | Purpose | Docs Link | |------|---------|---------|-----------| | Packer | โ‰ฅ 1.1.0 | Image building | [configuration.md](03-packer/configuration.md) | | OpenTofu | Latest | IaC provisioning | [main.tf.md](04-terraform/main.tf.md) | | Ansible | Latest | Automation | [pipeline.md](05-ansible/pipeline.md) | | Forgejo Actions | Latest | CI/CD | [forgejo-workflows.md](06-ci-cd/forgejo-workflows.md) | | MinGW | Latest | Cross-compilation | [forgejo-workflows.md](06-ci-cd/forgejo-workflows.md) | | NSIS | Latest | Installer creation | [forgejo-workflows.md](06-ci-cd/forgejo-workflows.md) | --- ## ๐Ÿ“– Reading Guide 1. **First Time Setup:** Read in order: 01 โ†’ 02 โ†’ 03 โ†’ 04 โ†’ 05 โ†’ 06 2. **Specific Task:** Use the Quick Navigation table above 3. **Deep Dive:** Follow cross-references from any section 4. **Troubleshooting:** Start with [troubleshooting.md](07-advanced/troubleshooting.md) --- ## ๐Ÿ”„ Document Version | Property | Value | |----------|-------| | Version | 1.0.0 | | Last Updated | February 2026 | | Target OS | Windows 11 LTSC 2024 | | Status | Active Development | --- [โ† Back to README](../README.md) | [โ†’ Architecture Overview](01-overview/architecture.md)