Closed lobopraveen closed 2 months ago
My bad, the failure was caused by invalid input. The log clearly says VBoxManage.exe: error: Invalid --audio argument 'true'
which I overlooked.
Just in case anyone comes here looking for --audio
and --audio-driver
- that issue is resolved with #139 and #141
Overview of the Issue
Packer VirtualBox build fails in VirtualBox 7.0.18 due to deprecated options. Although VirtualBox says it is only a warning, packer throws an error.
See VirtualBox release notes: VirtualBox 7.0.6 (released January 17 2023)
Related #119
Reproduction Steps
Build any virtualbox-iso. E.g.,https://github.com/jogleasonjr/packer-arch (the json file needs to be fixed with packer fix because of
Deprecated configuration key: 'iso_checksum_type'. Please call packer fix
)Plugin and Packer version
From
packer version
: Packer v1.11.1VirtualBox 7.0.18
Simplified Packer Buildfile
Please see https://github.com/jogleasonjr/packer-arch
Operating system and Environment details
Windows 10
Log Fragments and crash.log files