2025-10-03 06:19:26 +00:00
|
|
|
# Proxmox API Configuration
|
|
|
|
proxmox_api_url = "https://192.168.31.30:8006/api2/json"
|
|
|
|
proxmox_user = "tofu@pve"
|
|
|
|
proxmox_token_id = "tofu@pve!infra"
|
|
|
|
proxmox_token_secret = "f9f493f5-c6a0-4541-9000-e747d3216516"
|
|
|
|
proxmox_tls_insecure = true
|
|
|
|
proxmox_node = "nexus"
|
|
|
|
|
|
|
|
# VM Template Configuration
|
|
|
|
vm_template = "115"
|
|
|
|
|
|
|
|
# VM Basic Configuration
|
|
|
|
vm_name = "ubuntutest01"
|
|
|
|
vm_cores = 2
|
|
|
|
vm_memory = 2048
|
|
|
|
vm_sockets = 1
|
|
|
|
|
|
|
|
# VM Hardware Configuration
|
|
|
|
vm_boot_order = "order=ide0;net0"
|
|
|
|
vm_scsihw = "virtio-scsi-pci"
|
|
|
|
vm_qemu_agent = 1
|
|
|
|
|
|
|
|
# Network Configuration
|
|
|
|
vm_network_model = "virtio"
|
|
|
|
vm_network_bridge = "vmbr0"
|
|
|
|
|
|
|
|
# Disk Configuration
|
|
|
|
vm_disk_type = "scsi0"
|
|
|
|
vm_disk_storage = "local-lvm"
|
|
|
|
vm_disk_size = "100"
|
|
|
|
|
|
|
|
# Cloud-Init Configuration
|
|
|
|
vm_ci_user = "ubuntu"
|
|
|
|
vm_ci_password = "your-secure-password"
|
|
|
|
vm_ip_config = "ip=dhcp"
|
|
|
|
vm_ssh_keys = ""
|
|
|
|
|
|
|
|
# VM Tags
|
|
|
|
vm_tags = "terraform,ubuntu,production"
|