diff --git a/builder/proxmox/step_start_vm.go b/builder/proxmox/step_start_vm.go index 63d961125..132c383d4 100644 --- a/builder/proxmox/step_start_vm.go +++ b/builder/proxmox/step_start_vm.go @@ -27,12 +27,18 @@ func (s *stepStartVM) Run(ctx context.Context, state multistep.StateBag) multist agent = 0 } + kvm := true + if c.DisableKVM { + kvm = false + } + isoFile := state.Get("iso_file").(string) ui.Say("Creating VM") config := proxmox.ConfigQemu{ Name: c.VMName, Agent: agent, + QemuKVM: kvm, Boot: "cdn", // Boot priority, c:CDROM -> d:Disk -> n:Network QemuCpu: c.CPUType, Description: "Packer ephemeral build VM",