Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into GPII-2515
Browse files Browse the repository at this point in the history
  • Loading branch information
the-t-in-rtf committed Feb 15, 2018
2 parents fe15eae + fe09d59 commit 1f5327a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,18 @@ 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}"

# 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"
Expand Down

0 comments on commit 1f5327a

Please sign in to comment.