Overview of the Issue
When creating modern Windows VM's you need to have TPM 2.0 enabled in UTM unfortuantely there is not an option to set that value in the current implementation.
Plugin and Packer version
1.14.0
Simplified Packer Buildfile
source "utm-iso" "windows-server-2025" {
iso_url = "/Users/XXXX/Downloads/en-us_windows_11_business_editions_version_24h2_x64_dvd_59a1851e.iso"
iso_checksum = "D0DCA325314322518AE967D58C3061BCAE57EE9743A8A1CF374AAD8637E5E8AC"
uefi_boot = true
display_hardware_type = "virtio-vga-gl"
disk_size = 150
hard_drive_interface = "ide"
iso_interface = "ide"
vm_backend = "qemu"
vm_arch = "x86_64"
cpus = 2
memory = 4096
winrm_username = "vagrant"
winrm_password = "vagrant"
communicator = "winrm"
shutdown_command = "shutdown /s /t 1"
}
Operating system and Environment details
macOS 15.5
UTM 4.6.5
Overview of the Issue
When creating modern Windows VM's you need to have TPM 2.0 enabled in UTM unfortuantely there is not an option to set that value in the current implementation.
Plugin and Packer version
1.14.0
Simplified Packer Buildfile
Operating system and Environment details
macOS 15.5
UTM 4.6.5