From 8e1d9a98f29d83fb30f24f2614f32e01cd2b3817 Mon Sep 17 00:00:00 2001 From: Giovanni Tirloni Date: Fri, 4 Nov 2016 17:32:08 -0200 Subject: [PATCH 1/2] GPII-2060 - Bind mount node_modules in /var/tmp --- Vagrantfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index daf911e..2178e57 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -29,6 +29,13 @@ Vagrant.configure(2) do |config| # Your working directory will be synced to /home/vagrant/sync in the VM. config.vm.synced_folder ".", "#{app_directory}" + # Mounts node_modules in /var/tmp to work around issues in the VirtualBox shared folders + config.vm.provision "shell", run: "always", inline: <<-SHELL + sudo mkdir -p /var/tmp/#{app_name}/node_modules #{app_directory}/node_modules + sudo chown vagrant:vagrant -R /var/tmp/#{app_name}/node_modules #{app_directory}/node_modules + sudo mount -o bind /var/tmp/#{app_name}/node_modules #{app_directory}/node_modules + SHELL + # List additional directories to sync to the VM in your "Vagrantfile.local" file # using the following format: # config.vm.synced_folder "../path/on/your/host/os/your-project", "/home/vagrant/sync/your-project" From 8d3cc44b600952969bdf6783c82f7956a53e092c Mon Sep 17 00:00:00 2001 From: Giovanni Tirloni Date: Mon, 20 Nov 2017 14:03:29 -0200 Subject: [PATCH 2/2] GPII-2713 - Upgrade to Fedora 27 --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 866c9c3..ca94ac4 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -24,7 +24,7 @@ ram = ENV["VM_RAM"] || 2048 Vagrant.configure(2) do |config| - config.vm.box = "inclusivedesign/fedora26" + config.vm.box = "inclusivedesign/fedora27" # Your working directory will be synced to /home/vagrant/sync in the VM. config.vm.synced_folder ".", "#{app_directory}"