From 370c7526ce84245d3d15876abaf3bbdeee40a3fc Mon Sep 17 00:00:00 2001 From: Paul Czarkowski Date: Sun, 15 May 2016 17:18:25 -0500 Subject: [PATCH] Allows default behaviour of sharing folder to VMs By doing this we can stage our download files in a shared location and speed up subsequent runs significantly. --- .gitignore | 1 + Vagrantfile | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 2ebb1e9b3..1f9359992 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .vagrant *.retry inventory/vagrant_ansible_inventory +temp diff --git a/Vagrantfile b/Vagrantfile index 288ad5be0..787f001c3 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -11,7 +11,7 @@ CONFIG = File.join(File.dirname(__FILE__), "vagrant/config.rb") $num_instances = 3 $instance_name_prefix = "k8s" $vm_gui = false -$vm_memory = 1024 +$vm_memory = 1536 $vm_cpus = 1 $shared_folders = {} $forwarded_ports = {} @@ -53,8 +53,8 @@ Vagrant.configure("2") do |config| config.vm.provider :virtualbox do |v| # On VirtualBox, we don't have guest additions or a functional vboxsf # in CoreOS, so tell Vagrant that so it can be smarter. - v.check_guest_additions = false - v.functional_vboxsf = false + # v.check_guest_additions = false + # v.functional_vboxsf = false end # plugin conflict @@ -92,7 +92,8 @@ Vagrant.configure("2") do |config| "ip" => ip, "access_ip" => ip, "flannel_interface" => ip, - "flannel_backend_type" => "host-gw" + "flannel_backend_type" => "host-gw", + "local_release_dir" => "/vagrant/temp" } config.vm.network :private_network, ip: ip