# lab-oc-deploy.yaml - Operations Center server only
#
# Deploys ONLY the OC server node. Incus nodes are provisioned through OC's
# own provisioning pipeline (token -> ISO -> self-registration), not by
# incusos-proxmox.
#
# Workflow:
#   1. Deploy OC server with incusos-proxmox
#   2. Set up OC CLI remote + browser access (import client.pfx)
#   3. Wait for OC to download IncusOS update packages
#   4. Create provisioning token in OC
#   5. Download OC-provisioned IncusOS ISO
#   6. Create Proxmox VMs manually with OC-provisioned ISO
#   7. Nodes self-register with OC after first boot
#   8. Form cluster via OC CLI, API, or web UI
#
# Usage:
#   incusos-proxmox --dry-run examples/lab-oc-deploy.yaml
#   incusos-proxmox --yes examples/lab-oc-deploy.yaml
#   incusos-proxmox --status examples/lab-oc-deploy.yaml
#   incusos-proxmox --cleanup --deep examples/lab-oc-deploy.yaml
#
# Connection settings from proxmox.yaml (see examples/proxmox.yaml.example).
# Add a proxmox: section here to override per-deployment.
#
# Note: Uses VMID 920 to avoid collisions with lab-cluster (900+) and
# lab-advanced/lab-oc (910+). Incus nodes deployed via OC provisioning
# use VMIDs 921-923 (created manually via Proxmox API).

defaults:
  cores: 2
  memory: 4096
  disk: 50
  start_vmid: 920

proxmox:
  gateway: 192.168.100.1
  dns: 192.168.100.1

vms:
  - name: oc-server
    app: operations-center
    apply_defaults: true
    ip: 192.168.102.120/22
