# Base Proxmox endpoint, including scheme and port.
# Required for live API access.
PROXMOX_URL=https://proxmox.example.invalid:8006

# Default login realm used for authentication.
# Optional for the interactive app, because realms can be loaded and selected manually.
# Still required for non-interactive doctor login checks.
PROXMOX_REALM=pam

# Default Proxmox username. If it does not already include @realm, the app appends PROXMOX_REALM.
# Optional for the interactive app, because it can be entered manually.
# Still required for non-interactive doctor login checks.
PROXMOX_USER=root

# Default password for the configured user.
# Optional for the interactive app, because it can be entered manually.
# Still required for non-interactive doctor login checks.
PROXMOX_PASSWORD=replace-me

# Verify TLS certificates for API requests.
# Recommended: true for trusted certificates, false only for known self-signed/internal setups.
PROXMOX_VERIFY_TLS=false

# Usually leave this at the default Proxmox API base.
PROXMOX_API_BASE=/api2/json

# Optional ISO auto-selection rule for the OS step.
# Uses glob syntax by default. Prefix with "regex:" to use a regular expression.
# Examples:
# PROXMOX_DEFAULT_ISO_SELECTOR=*ubuntu*
# PROXMOX_DEFAULT_ISO_SELECTOR=regex:nixos-minimal-\d{2}\.\d{2}\..*-x86_64-linux\.iso$
PROXMOX_DEFAULT_ISO_SELECTOR=

# Global create safety switch.
# false = allows creates
# true = blocks creates
PROXMOX_PREVENT_CREATE=false

# Restrict live creates to a dedicated test scope.
# When true, the PROXMOX_TEST_* values below become required.
PROXMOX_ENABLE_TEST_MODE=false

# Required only when PROXMOX_ENABLE_TEST_MODE=true.
# Creates are restricted to this node.
PROXMOX_TEST_NODE=

# Required only when PROXMOX_ENABLE_TEST_MODE=true.
# Creates are restricted to this resource pool.
PROXMOX_TEST_POOL=

# Required only when PROXMOX_ENABLE_TEST_MODE=true.
# Automatically added to created VMs in test mode.
PROXMOX_TEST_TAG=codex-e2e

# Required only when PROXMOX_ENABLE_TEST_MODE=true.
# Automatically prefixed to VM names in test mode.
PROXMOX_TEST_VM_NAME_PREFIX=codex-e2e-

# Reserved for future failed-create cleanup behavior.
# Parsed today, but not yet acted on by the workflow.
PROXMOX_KEEP_FAILED_VM=true

# Request timeout used for API calls and task polling.
PROXMOX_REQUEST_TIMEOUT_SECONDS=15
