diff --git a/single-node/Vagrantfile b/single-node/Vagrantfile index 1dc45d0b00..8655137161 100644 --- a/single-node/Vagrantfile +++ b/single-node/Vagrantfile @@ -10,6 +10,7 @@ Vagrant.require_version ">= 1.6.0" CLUSTER_IP="10.3.0.1" NODE_IP = "172.17.4.99" +NODE_MEMORY_SIZE = 2048 USER_DATA_PATH = File.expand_path("user-data") SSL_TARBALL_PATH = File.expand_path("ssl/controller.tar") @@ -28,7 +29,7 @@ Vagrant.configure("2") do |config| ["vmware_fusion", "vmware_workstation"].each do |vmware| config.vm.provider vmware do |v, override| v.vmx['numvcpus'] = 1 - v.vmx['memsize'] = 1024 + v.vmx['memsize'] = NODE_MEMORY_SIZE v.gui = false override.vm.box_url = "http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant_vmware_fusion.json" @@ -38,7 +39,7 @@ Vagrant.configure("2") do |config| config.vm.provider :virtualbox do |v| v.cpus = 1 v.gui = false - v.memory = 1024 + v.memory = NODE_MEMORY_SIZE # On VirtualBox, we don't have guest additions or a functional vboxsf # in CoreOS, so tell Vagrant that so it can be smarter.