From f1263dc48510c92366a1203beec84e9fd27e1c46 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Sun, 12 Jul 2015 23:06:38 -0400 Subject: vagrant: Increase Memory to 1GB leap_cli running puppet fails from lack of memory with the default amount of RAM --- Vagrantfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Vagrantfile b/Vagrantfile index 18590a8f..16f973cb 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -8,6 +8,7 @@ Vagrant.configure("2") do |config| config.vm.box = "LEAP/wheezy" #config.vm.network :private_network, ip: "10.5.5.102" config.vm.provider "virtualbox" do |v| + v.memory = 1024 v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] v.name = "node1" end -- cgit v1.2.3 From 2bb4f3d3c350aaac569f0c6a8c7935f4c35ecfee Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Sun, 12 Jul 2015 23:31:15 -0400 Subject: vagrant: Fix variable shadowing in Vagrantfile I'm unsure if the two levels of config are actually required, but making the most minimal changes possible atm. --- Vagrantfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 16f973cb..fdf92020 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,5 +1,7 @@ -Vagrant.configure("2") do |config| - config.vm.define :node1 do |config| +# -*- mode: ruby -*- +# vi: set ft=ruby : +Vagrant.configure("2") do |vagrant_config| + vagrant_config.vm.define :node1 do |config| # Please verify the sha512 sum of the downloaded box before importing it into vagrant ! # see https://leap.se/en/docs/platform/details/development#Verify.vagrantbox.download -- cgit v1.2.3