vagrant up
A customization command failed:
["modifyvm", :id, "--memory", 6144]
The following error was experienced:
#<Vagrant::Errors::VBoxManageError: There was an error while executing `VBoxManage`, a CLI used by Vagrantfor controlling VirtualBox. The command and stderr is shown below.
Command: ["modifyvm", "55bb18ac-0e0f-492d-be72-a0a3cce59119", "--memory", "6144"]
Stderr: VBoxManage: error: Invalid RAM size: 6144 MB (must be in range [4, 3584] MB)VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component SessionMachine, interface IMachine, callee nsISupportsVBoxManage: error: Context: "COMSETTER(MemorySize)(ValueUnion.u32)" at line 599 of file VBoxManageModifyVM.cpp>
Please fix this customization and try again.
6144 MB (must be in range [4, 3584] MB)
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/06874126-d834-4e87-808e-683dbfafc3d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Vagrant.configure('2') do |config|
config.vm.box = 'cloudfoundry/bosh-lite'
config.vm.provider :virtualbox do |v, override| override.vm.box_version = '9000.137.0' # ci:replace # To use a different IP address for the bosh-lite director, uncomment this line: # override.vm.network :private_network, ip: '192.168.59.4', id: :local end
config.vm.provider :aws do |v, override| override.vm.box_version = '9000.137.0' # ci:replace # To turn off public IP echoing, uncomment this line: # override.vm.provision :shell, id: "public_ip", run: "always", inline: "/bin/true"
# To turn off CF port forwarding, uncomment this line: # override.vm.provision :shell, id: "port_forwarding", run: "always", inline: "/bin/true"
# Following minimal config is for Vagrant 1.7 since it loads this file before downloading the box. # (Must not fail due to missing ENV variables because this file is loaded for all providers) v.access_key_id = ENV['BOSH_AWS_ACCESS_KEY_ID'] || '' v.secret_access_key = ENV['BOSH_AWS_SECRET_ACCESS_KEY'] || '' v.ami = '' end
config.vm.provider :vmware_fusion do |v, override| override.vm.box = 'cloudfoundry/no-support-for-bosh-lite-on-fusion' #we no longer build current boxes for vmware_fusion #ensure that this fails. otherwise the user gets an old box end
config.vm.provider :vmware_workstation do |v, override| override.vm.box = 'cloudfoundry/no-support-for-bosh-lite-on-workstation' #we no longer build current boxes for vmware_workstation #ensure that this fails. otherwise the user gets an old box endend
~/.vagrant.d/boxes/cloudfoundry-VAGRANTSLASH-bosh-lite/9000.137.0/virtualbox/Vagrantfile
where ~ is your home directory.
Seems they are defaulting to 6GB if the variable VM_MEMORY is not set.
So, if you use cmd.exe do
set VM_MEMORY=1024
if you use linux/mac/bash
export VM_MEMORY=1024
vagrant reload
This should be documented in the project you are using or the box you are using.
Alvaro
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/c7a3d03b-24ef-4ffc-b7f4-0072b3438267%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.