Open dreibh opened 7 months ago
I also noticed that APT downloads 16.4 MiB for the 1.10.1-1 package, while it downloads 24.3 MiB for 1.9.5-1. May be the QEMU support is not built into the latest Ubuntu package?
The same issue also applies to the vsphere-iso builder, i.e. the Ubuntu package 1.10.1-1 also seems to not contain the vSphere builder. Again, a downgrade to 1.9.5-1 works fine.
The Ubuntu package seems to not include "packer-plugin-qemu" or "packer-plugin-vsphere", which are now separate Git repositories. It seems the package building needs to be updated to also include the plugins.
Hi @dreibh thanks for reaching out, with the removal of bundled plugins from Packer 1.10.0 plugins previously shipped in the Packer binary must now be installed separately. Unfortunately, this is not something that can be codified in JSON templates, which is why you are seeing this issue.
Have you tried executing the suggested command within the error message packer plugins install ...
?
To get past this initial issue you want to run the following command to install the latest version for the QEMU plugin.
packer plugins install github.com/hashicorp/qemu
For external plugins such as QEMU or vSphere, you will find instructions on the integration portal for installing the plugin using the packer plugins install command for JSON users and packer init
for HCL2 template users.
I just installed the latest Packer 1.10.1-1 from the offical HashiCorp Ubuntu repository (https://developer.hashicorp.com/packer/install#Linux) and tried the QEMU example JSON (https://developer.hashicorp.com/packer/integrations/hashicorp/qemu/latest/components/builder/qemu):
However, the QEMU example works fine when downgrading to 1.9.5-1:
That is, the QEMU support got broken in the 1.10.1-1 release, at least for the Ubuntu package.