Packer
QEMU
@hashicorp
The Qemu Packer Plugin comes with a single builder able to create KVM virtual machine images.
- Official
Updated 2 years ago
- GitHub(opens in new tab)
QEMU
The Qemu Packer Plugin comes with a single builder able to create KVM virtual machine images.
Installation
To install this plugin add this code into your Packer configuration and run packer init
packer {
required_plugins {
qemu = {
version = "~> 1"
source = "github.com/hashicorp/qemu"
}
}
}
Alternatively, you can use packer plugins install
to manage installation of this plugin.
packer plugins install github.com/hashicorp/qemu
Note: Update to Packer Plugin Installation
With the new Packer release starting from version 1.14.0, the packer init
command will automatically install official plugins from the HashiCorp release site.
Going forward, to use newer versions of official Packer plugins, you'll need to upgrade to Packer version 1.14.0 or later. If you're using an older version, you can still install plugins, but as a workaround, you'll need to manually install them using the CLI.
There is no change to the syntax or commands for installing plugins.