From 7b9c1068754269046a2dab0015ae0d2935c71817 Mon Sep 17 00:00:00 2001 From: varac Date: Sun, 21 Jun 2015 10:12:55 +0100 Subject: use hashicorp atlas for Vagrantbox download Change-Id: Ie7263c9442eb9bf8572d301f88bd38dbcce16846 --- Vagrantfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Vagrantfile') diff --git a/Vagrantfile b/Vagrantfile index 4a91c459..18590a8f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -5,8 +5,7 @@ Vagrant.configure("2") do |config| # see https://leap.se/en/docs/platform/details/development#Verify.vagrantbox.download # for details - config.vm.box = "leap-wheezy" - config.vm.box_url = "https://downloads.leap.se/platform/vagrant/virtualbox/leap-wheezy.box" + config.vm.box = "LEAP/wheezy" #config.vm.network :private_network, ip: "10.5.5.102" config.vm.provider "virtualbox" do |v| v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] -- cgit v1.2.3 From 2adbf36f656b68ef09f1d6dafdc9f1b8f99d8080 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Sun, 12 Jul 2015 12:14:11 -0400 Subject: Add emacs/vim modelines to Vagrantfile Makes most editors recognize Vagrantfile as a ruby file and do appropriate syntax highlighting --- Vagrantfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Vagrantfile') diff --git a/Vagrantfile b/Vagrantfile index 18590a8f..2d9b473e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,3 +1,5 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.define :node1 do |config| -- cgit v1.2.3 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(+) (limited to 'Vagrantfile') 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(-) (limited to 'Vagrantfile') 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