Closed tgihf closed 3 years ago
Here's a screenshot of the VM after performing the build. You can see the additional iso files are not attached.
Same issue here. Packer version 1.6.5 under OS-X
Same issue. Packer v1.6.6 and Proxmox 6.3-3
Hi, Just so I'm looking for the right bug - is the issue that the ISOs are not mounted during the build, or that they do not remain afterwards? It seems there are two different cases in this thread (and both might be broken).
In my case, the ISOs are not mounted during the build. The windows install process stops on language selections and waits. If I manually power off VM, mount Autounattend.iso and virtio-win.iso, then power on VM the build works correctly.
Right, it looks like files were actually never mounted as part of the build, only when converting to a template. I assume there's another use-case for that, and I simply missed checking this one during review. I'll try to write up the missing code.
The patch was a bit more complicated than expected, but I've opened a PR now. Would any of you be able to check it out and verify it works in your usecases? @tgihf @nils-tekampe @jakjablonski
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
proxmox-iso Builder - additional_iso_files Not Appearing
I'm attempting to use Packer to automate the build of a Windows 10 template in Proxmox, similar to https://holdmybeersecurity.com/2020/10/03/creating-a-windows-10-64-bit-vm-on-proxmox-with-packer-v1-6-3-and-vault/.
Even when using the
additional_iso_files
field (according to https://www.packer.io/docs/builders/proxmox/iso), the additional CD/DVD Drives that are supposed to contain the additional ISOs are not attached to the virtual machine when it boots up.If I power off the VM, manually attach the two ISOs as CD/DVD drives, and then power on the VM, everything works great. The primary issue seems to be that the
additional_iso_files
field isn't working.Packer version
Packer version: 1.6.5
Simplified Packer Buildfile
Operating system and Environment details
Proxmox version: 6.2-4 Packer host: macOS Mojave (Version 10.14.6)
Log Fragments and crash.log files
Output from build command
packer build win10x64-enterprise.json
: