When using a .vhd as the iso_url (as stated possible in the documentation, VirtualBox returns the error Error attaching ISO: VBoxManage error: VBoxManage.exe: error: The medium '<path/to/vhd>' can't be used as the requested device type (DVD, detected HDD).
Reproduction Steps
Put a .VHD file locaiton as the iso_url and run packer.
Overview of the Issue
When using a .vhd as the
iso_url
(as stated possible in the documentation, VirtualBox returns the errorError attaching ISO: VBoxManage error: VBoxManage.exe: error: The medium '<path/to/vhd>' can't be used as the requested device type (DVD, detected HDD)
.Reproduction Steps
Put a .VHD file locaiton as the
iso_url
and run packer.Plugin and Packer version
From
packer version
:Packer v1.10.0
From
packer plugins installed
:Simplified Packer Buildfile
Operating system and Environment details
Windows 10 amd64, running from Powershell.
Log Fragments and crash.log files
Link to Packer log gist
Note
When using VirtualBox GUI, I can put the .vhd as a hard drive and run my VM normally, I just don't understand how to do the same with packer.