You’ll need to use the following config:
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--vram", "<vramsize in MB>"]
end
How I found this?
I looked at VirtualBox docs but haven’t found anything about ‘Video’ or ‘Memory’ that seem related to video memory.
So I ran VBoxManage showvminfo <vm name>
command and looked for the line with the amount of video memory I have set in Virtualbox GUI (12MB).
And then I saw:
VRAM size: 12MB
So now back to the documentation looking for ‘vram’ string.