From a340987eb1de7e731295df9c1d02c36517ae1ba6 Mon Sep 17 00:00:00 2001 From: Ryan Walder Date: Fri, 11 Jan 2019 15:38:10 +0000 Subject: [PATCH 1/7] Change vagrant box to xenial64 --- Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index b2631ef..4358996 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -4,8 +4,8 @@ # "code" we're using for the examples in the repo. Vagrant.configure("2") do |config| - config.vm.box = "precise32" - config.vm.hostname = "myprecise.box" + config.vm.box = "xenial64" + config.vm.hostname = "myxenial.box" config.vm.network :private_network, ip: "192.168.0.42" config.vm.provider :virtualbox do |vb| From 27ecae0b6699d73eb6c96fec7fb6486d2819068f Mon Sep 17 00:00:00 2001 From: Ryan Walder Date: Fri, 11 Jan 2019 15:47:58 +0000 Subject: [PATCH 2/7] Rename boxname to match naming convention --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 4358996..8055f1f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -5,7 +5,7 @@ Vagrant.configure("2") do |config| config.vm.box = "xenial64" - config.vm.hostname = "myxenial.box" + config.vm.hostname = "cs-vagrant-test-xenial-01.gel.zone" config.vm.network :private_network, ip: "192.168.0.42" config.vm.provider :virtualbox do |vb| From 7c6a24176c9b548bf2cfd0aa17933514e33e5b66 Mon Sep 17 00:00:00 2001 From: Ryan Walder Date: Fri, 11 Jan 2019 15:39:26 +0000 Subject: [PATCH 3/7] Change vagrant network --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 8055f1f..181fbf9 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -6,7 +6,7 @@ Vagrant.configure("2") do |config| config.vm.box = "xenial64" config.vm.hostname = "cs-vagrant-test-xenial-01.gel.zone" - config.vm.network :private_network, ip: "192.168.0.42" + config.vm.network :private_network, ip: "192.168.66i.42" config.vm.provider :virtualbox do |vb| vb.customize [ From f16d319aa9200bf5775abd3a844027012c30a907 Mon Sep 17 00:00:00 2001 From: Ryan Walder Date: Fri, 11 Jan 2019 15:39:46 +0000 Subject: [PATCH 4/7] Fix typo in vagrant network --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 181fbf9..582f9ae 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -6,7 +6,7 @@ Vagrant.configure("2") do |config| config.vm.box = "xenial64" config.vm.hostname = "cs-vagrant-test-xenial-01.gel.zone" - config.vm.network :private_network, ip: "192.168.66i.42" + config.vm.network :private_network, ip: "192.168.66.42" config.vm.provider :virtualbox do |vb| vb.customize [ From a082496ad67117083392c53b14ccf307e353d95e Mon Sep 17 00:00:00 2001 From: Ryan Walder Date: Fri, 11 Jan 2019 15:47:09 +0000 Subject: [PATCH 5/7] Change box ram to 512mb --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 582f9ae..6b5a0a4 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -12,7 +12,7 @@ Vagrant.configure("2") do |config| vb.customize [ "modifyvm", :id, "--cpuexecutioncap", "50", - "--memory", "256", + "--memory", "512", ] end end From 38146d3fcfe1e872483eedff29c500592967d05f Mon Sep 17 00:00:00 2001 From: Ryan Walder Date: Fri, 11 Jan 2019 15:53:50 +0000 Subject: [PATCH 6/7] Add second disk --- Vagrantfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 6b5a0a4..720d8ca 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -3,6 +3,8 @@ # NOTE: This Vagrantfile isn't actually meant to do anything, it's just the # "code" we're using for the examples in the repo. +disk = './secondDisk.vdi' + Vagrant.configure("2") do |config| config.vm.box = "xenial64" config.vm.hostname = "cs-vagrant-test-xenial-01.gel.zone" @@ -14,5 +16,10 @@ Vagrant.configure("2") do |config| "--cpuexecutioncap", "50", "--memory", "512", ] + vb.customize ['createhd', '--filename', disk, '--variant', 'Fixed', '--size', 20 * 1024] + vb.customize ['storageattach', :id, '--storagectl', 'SATAController', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', disk] + + + end end From e2db4c4367d8e11971474800d8926044e46fe2a4 Mon Sep 17 00:00:00 2001 From: Ryan Walder Date: Fri, 11 Jan 2019 16:01:02 +0000 Subject: [PATCH 7/7] Cleanup witespace --- Vagrantfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 720d8ca..b38080b 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -18,8 +18,5 @@ Vagrant.configure("2") do |config| ] vb.customize ['createhd', '--filename', disk, '--variant', 'Fixed', '--size', 20 * 1024] vb.customize ['storageattach', :id, '--storagectl', 'SATAController', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', disk] - - - end end