windows-iac-vm-tooling/packer/variables.pkr.hcl
root 14389d96cc
Some checks are pending
Build and Release / build-sign-package (push) Waiting to run
feat: Add Proxmox access setup documentation
- Created PROXMOX_ACCESS.md with setup instructions
- Updated credentials with actual values from cred repo
- Added SSL certificate setup for Proxmox API access
- Documented 3 options: API token, password, SSH key
2026-02-06 17:28:15 +00:00

79 lines
1.6 KiB
HCL

variable "proxmox_url" {
type = string
default = "https://10.32.2.11:8006/api2/json"
description = "Proxmox API URL"
}
variable "proxmox_username" {
type = string
default = "root@pam"
description = "Proxmox authentication user"
}
variable "proxmox_password" {
type = string
default = ""
description = "Proxmox password or API token secret"
sensitive = true
}
variable "proxmox_node" {
type = string
default = "la-vmh-07"
description = "Proxmox node name"
}
variable "vm_name" {
type = string
default = "win11-ltsc-template"
description = "Name of the template VM"
}
variable "vm_memory" {
type = number
default = 8192
description = "VM memory in MB"
}
variable "vm_cores" {
type = number
default = 4
description = "Number of CPU cores"
}
variable "vm_disk_size" {
type = string
default = "60G"
description = "Disk size"
}
variable "iso_storage" {
type = string
default = "local"
description = "Proxmox storage for ISOs"
}
variable "windows_iso" {
type = string
default = "CLIENT_LTSC_EVAL_x64FRE_en-us.iso"
description = "Windows ISO filename"
}
variable "disk_storage" {
type = string
default = "local-lvm"
description = "Proxmox storage for disks"
}
variable "virtio_iso" {
type = string
default = "local:iso/virtio-win.iso"
description = "Path to VirtIO ISO"
}
variable "winrm_password" {
type = string
default = "PackerPassword123!"
description = "Windows Administrator password for WinRM"
sensitive = true
}