You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across this issue when using Ubuntu's daily cloud images with the virtualbox-ovf builder. After importing the OVA, the plugin tries to attach the iso generated from the cloud-init data in cd_content. It looks for an ide controller named IDE Controller, but finds none; however a controller IDE exists. I suspect that this may be related to the VirtualBox version (6.1.30)?
I solved this issue locally by adding a vboxmanage_pre field to the plugin, which runs just after the VM is created (or OVF imported).
Adding the following lines to the problem buildfile below would fix the issue. If this is solution works, I can submit a PR. If not, I'm open to other ideas/solutions.
Unfortunately, vboxmanage_pre seems to not be available anymore in the config. vboxmanage seems to be the way to pass vboxmanage commands before the vm starts but commands will be run after packer trying to attach CD.
Overview of the Issue
I came across this issue when using Ubuntu's daily cloud images with the
virtualbox-ovf
builder. After importing the OVA, the plugin tries to attach the iso generated from the cloud-init data incd_content
. It looks for an ide controller namedIDE Controller
, but finds none; however a controllerIDE
exists. I suspect that this may be related to the VirtualBox version (6.1.30)?I solved this issue locally by adding a
vboxmanage_pre
field to the plugin, which runs just after the VM is created (or OVF imported).Adding the following lines to the problem buildfile below would fix the issue. If this is solution works, I can submit a PR. If not, I'm open to other ideas/solutions.
Reproduction Steps
Using the example build file below:
PACKER_LOG=1 packer build example.json
Plugin and Packer version
Packer v1.7.8
Simplified Packer Buildfile
example.json
Operating system and Environment details
Oracle VM VirtualBox VM Selector v6.1.30
Log Fragments and crash.log files
The text was updated successfully, but these errors were encountered: