Use the Proxmox ISO builder
mainThe proxmox-iso builder creates new Proxmox VE images by taking an ISO source, running provisioning steps on the launched image, and then creating a virtual machine template.
Note: The builder does not manage the lifecycle of the created templates; once the template is created, you are responsible for using or deleting it.
source "proxmox-iso" "example" {
# Configuration goes here
}