Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid configuration for device '2'.' for property 'VirtualVideoCard.videoRamSizeInKB #127

Open
R3dy opened this issue Apr 15, 2022 · 1 comment

Comments

@R3dy
Copy link

R3dy commented Apr 15, 2022

While attempting to build a Windows VM with Vagrant + my home ESXi 6.7 server I encountered the following error.

Opening VMX source: /Users/royce/.vagrant.d/boxes/StefanScherer-VAGRANTSLASH-windows_2019/2021.05.15/vmware_desktop/ZZZZ_WEB01.vmx
Opening VI target: vi://[email protected]:443/
Error:
 - Invalid VM configuration. Reason: 'Invalid configuration for device '2'.' for property 'VirtualVideoCard.videoRamSizeInKB'
Completed with errors
There was an OVF Tool error.

A little bit of Googling yields this page which states a suggested workaround
https://kb.vmware.com/s/article/65205

The suggestion is to set the following inside the OVF
svga.vramSize = "134217728"

Can you add an option in vmware_esxi to set this? Similar to esxi.guest_memsize but something like esxi.guest_vramsize then I could specify this value in my Vagrantfile

Would be much appreciated!

@josenk
Copy link
Owner

josenk commented Jun 27, 2022

Have you tried guest_custom_vmx_settings to add custom settings? There is an example in the README.

In your case it would be something like this...
esxi.guest_custom_vmx_settings = [['svga.vramSize','134217728']]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants