hashicorp / packer-plugin-virtualbox

Packer plugin for VritualBox Builder
https://www.packer.io/docs/builders/virtualbox
Mozilla Public License 2.0
22 stars 36 forks source link

Enhancement: add possibility to enable/disable audio #137

Open MatthieuLeboeuf opened 1 month ago

MatthieuLeboeuf commented 1 month ago

Please search the existing issues for relevant feature requests, and use the reaction feature (https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to add upvotes to pre-existing requests.

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request. If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

Possibility to enable/disable audio with the vboxmanage command : modifyvm name --audio-enabled off

Use Case(s)

Actually, the sound variable sets the audio driver to null if the content is none, but leave the audio enabled.

Potential configuration

if sound = "none" use --audio-enabled off else use --audio-enabled on and use --audio-driver to set the correct driver

Potential References