Hello

Vagrantfile can be also included in the machine (VM), so in this case check
this file:

~/.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



On Mon, Jun 26, 2017 at 3:37 PM, João Vitor Brasil <
[email protected]> wrote:

> Hello, Alvaro
>
> The Vagrantfile contais:
>
> 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
>   end
> end
>
> I had tried to add some line similar to the one you put, but it still did
> not work.
>
> Thanks
>
> --
> 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/vagrant-up/c7a3d03b-24ef-4ffc-b7f4-0072b3438267%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/c7a3d03b-24ef-4ffc-b7f4-0072b3438267%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezZNwfAn2uFRoG%2Bz5mGPHU9qCfjQfyi0YJ46BjsfnH0bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to