aboutsummaryrefslogtreecommitdiffstats
path: root/Vagrantfile
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2017-12-04 23:11:32 +0100
committerHarald Eilertsen <haraldei@anduin.net>2017-12-04 23:11:32 +0100
commit11732909e191eabef8e9f11a86d32be3ad956e5b (patch)
tree29c16e0fd3fbf6e3db6437227c98f245253010d1 /Vagrantfile
parentc50f69cf56055dc40c9070f3af2008979dead830 (diff)
downloadhmnoweb-11732909e191eabef8e9f11a86d32be3ad956e5b.tar.gz
hmnoweb-11732909e191eabef8e9f11a86d32be3ad956e5b.tar.bz2
hmnoweb-11732909e191eabef8e9f11a86d32be3ad956e5b.zip
Setup rsynced folder mirroring the source dir into the vagrant box.
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
index 5da39ab..21fd8f7 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,9 +1,11 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
+# :mode=ruby:
Vagrant.configure("2") do |config|
config.vm.box = "bento/freebsd-10.3"
config.vm.guest = :freebsd
config.vm.network :forwarded_port, host: 4567, guest: 80
config.vm.provision :shell, :path => "vagrant/bootstrap.sh"
+ config.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: %w[.git/ vendor/bundle/]
end