From c0121f5953300de2661d9102cc3e38fad20d3639 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sun, 21 Apr 2013 18:56:05 -0300 Subject: [PATCH] Enable NFS for VBox dev machines --- development/Vagrantfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/development/Vagrantfile b/development/Vagrantfile index ddaefeb..bfe2b7e 100644 --- a/development/Vagrantfile +++ b/development/Vagrantfile @@ -27,7 +27,7 @@ Vagrant.require_plugin 'vagrant-lxc' Vagrant.configure("2") do |config| config.vm.box = "quantal64" - config.vm.synced_folder "../", "/vagrant", id: 'vagrant-root' + config.vm.synced_folder "../", "/vagrant", id: 'vagrant-root', nfs: true cache_dir = local_apt_cache(config.vm.box) config.vm.synced_folder cache_dir, "/var/cache/apt/archives", id: "vagrant-apt-cache" @@ -36,6 +36,7 @@ Vagrant.configure("2") do |config| config.vm.synced_folder cache_dir, "/home/vagrant/gems/cache", id: "vagrant-gem-cache" config.vm.define :vbox do |vb_config| + vb_config.vm.network :private_network, ip: "192.168.50.33" vb_config.vm.box_url = "https://github.com/downloads/roderik/VagrantQuantal64Box/quantal64.box" vb_config.vm.hostname = 'vbox' @@ -50,6 +51,7 @@ Vagrant.configure("2") do |config| end config.vm.define :precise do |precise| + precise.vm.network :private_network, ip: "192.168.50.32" precise.vm.box = 'precise64' precise.vm.hostname = 'vbox' precise.vm.box_url = 'http://files.vagrantup.com/precise64.box'