# lab-oc-nodes.yaml - Incus nodes for OC-managed cluster
#
# Deploys 3 Incus nodes using an OC-provisioned ISO. Nodes auto-register
# with Operations Center after installation using the token embedded in
# the ISO.
#
# Usage:
#   # First: download OC-provisioned ISO via OC CLI
#   # Then deploy with --iso pointing to it:
#   incusos-proxmox --iso /tmp/IncusOS-oc.iso --dry-run examples/lab-oc-nodes.yaml
#   incusos-proxmox --iso /tmp/IncusOS-oc.iso --yes examples/lab-oc-nodes.yaml
#   incusos-proxmox --status examples/lab-oc-nodes.yaml
#   incusos-proxmox --cleanup --deep examples/lab-oc-nodes.yaml
#
# Connection settings from proxmox.yaml (see examples/proxmox.yaml.example).

defaults:
  cores: 4
  memory: 20480
  disk: 100
  start_vmid: 400

proxmox:
  gateway: 192.168.100.1
  dns: 192.168.100.1

vms:
  - name: oc-node-01
    app: incus
    apply_defaults: false
    disk: 250
    ip: 192.168.102.140/22

  - name: oc-node-02
    app: incus
    apply_defaults: false
    ip: 192.168.102.141/22

  - name: oc-node-03
    app: incus
    apply_defaults: false
    ip: 192.168.102.142/22
