Skip to content

packer-builder/hypervisor

Select the hypervisor to setup.

Defines the hypervisor to deploy for the Packer image builds. The default value is kvm.

The builder node must be a Linux system. For kvm it must be capable of running KVM/QEMU - either bare metal or a VM with nested virtualization enabled. Tested builder platforms are Ubuntu (22.04, 24.04, 26.04) and the RHEL family (AlmaLinux / Rocky / RHEL / Oracle Linux 8, 9, and 10).

Supported values:

  • kvm - libvirt / QEMU. The primary, best-tested path.
  • virtualbox - Oracle VirtualBox. Builds VirtualBox-iso Packer sources.
  • vsphere - builds against a remote ESXi/vCenter you provide (no local hypervisor to install). The vsphere-iso source is packer-validated but NOT exercised end-to-end -- verify it in your own VMware environment. Supply the vSphere connection via the vsphere var-file or packer-builder/packer-args.

Objects that Reference packer-builder/hypervisor

Objects used by packer-builder/hypervisor

Not used in current content packs