35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
# Copy this file to debian.pkrvars.hcl and fill in the values for your
|
|
# environment. Never commit the real file — it contains credentials.
|
|
#
|
|
# Usage:
|
|
# packer init .
|
|
# packer build -var-file=debian.pkrvars.hcl .
|
|
|
|
vcenter_server = "vcsa.example.local"
|
|
vcenter_username = "administrator@vsphere.local"
|
|
vcenter_password = "Password!"
|
|
|
|
# Set to false if your vCenter has a valid CA-signed certificate
|
|
vcenter_insecure_connection = true
|
|
|
|
datacenter = ""
|
|
cluster = "" # standalone ESXi host
|
|
datastore = "datastore1"
|
|
network = "VM Network" # port group used during build (DHCP required)
|
|
vm_folder = "Templates"
|
|
|
|
vm_name = "debian-13-template"
|
|
vm_cpus = 2
|
|
vm_memory_mb = 2048
|
|
vm_disk_size_mb = 30720
|
|
|
|
iso_bd1 = "[datastore1] ISOs/debian-13.4.0-amd64-BD-1.iso"
|
|
iso_bd2 = "[datastore1] ISOs/debian-13.4.0-amd64-BD-2.iso"
|
|
iso_bd3 = "[datastore1] ISOs/debian-13.4.0-amd64-BD-3.iso"
|
|
iso_bd4 = "[datastore1] ISOs/debian-13.4.0-amd64-BD-4.iso"
|
|
iso_bd5 = "[datastore1] ISOs/debian-13.4.0-amd64-BD-5.iso"
|
|
iso_bd6 = "[datastore1] ISOs/debian-13.4.0-amd64-BD-6.iso"
|
|
|
|
ssh_username = "root"
|
|
ssh_password = "Passw0rd!"
|