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'm trying to build a custom Windows server 2022 ISO image, but it fails with the following error:
stderr: VBoxManage: error: The graphics controller does not support the given feature
VBoxManage: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component GraphicsAdapterWrap, interface IGraphicsAdapter, callee nsISupports
VBoxManage: error: Context: "SetFeature(GraphicsFeature_Acceleration3D, ValueUnion.f)" at line 1108 of file VBoxManageModifyVM.cpp
==> virtualbox-iso.windows: VBoxManage: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component GraphicsAdapterWrap, interface IGraphicsAdapter, callee nsISupports
==> virtualbox-iso.windows: VBoxManage: error: Context: "SetFeature(GraphicsFeature_Acceleration3D, ValueUnion.f)" at line 1108 of file VBoxManageModifyVM.cpp[0m
I have the latest VirtualBox version (7.1) installed, and after scratching my head for a while, I decided to test with an older version (6.1), which does not give this error, so the problem seems to be limited to 7.1.
See the attached log file for the full debug output: packer.log
In your source configuration, adding gfx_controller = "vboxsvga" should fix the error (since you are building a Windows Server VM). My personal opinion is that this should be the new default in this plugin going forward, unless there is a very specific reason why it is used as the default. The fact the new version of VirtualBox breaks this specifically implies to me they may no longer support this graphics controller in the near future.
Overview of the Issue
I'm trying to build a custom Windows server 2022 ISO image, but it fails with the following error:
I have the latest VirtualBox version (7.1) installed, and after scratching my head for a while, I decided to test with an older version (6.1), which does not give this error, so the problem seems to be limited to 7.1.
See the attached log file for the full debug output:
packer.log
Reproduction Steps
Attached is my Packer configuration file:
windows.pkr.hcl.txt
Plugin and Packer version
Packer v1.11.2
VirtualBox 7.1
packer-plugin-virtualbox_v1.1.1_x5.0_linux_amd64
Operating system and Environment details
Tested on both Windows 10 and Ubuntu 24.04 with the same result.
The text was updated successfully, but these errors were encountered: