aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant/centos6/Vagrantfile
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2017-03-12 01:05:20 +0000
committerMartin Pärtel <martin.partel@gmail.com>2017-03-12 01:05:20 +0000
commitaef3aa07b85cb3e9340cb2d95571aebf6f2638ab (patch)
tree5de18609abf7e1b71e1b6b0dee3490280998c05f /vagrant/centos6/Vagrantfile
parent8437e3fc441ba5e38c57c571ba477237a72ea66d (diff)
downloadbindfs-aef3aa07b85cb3e9340cb2d95571aebf6f2638ab.tar.gz
Added Vagrant test runner, initially running some Ubuntus and CentOSes.
Diffstat (limited to 'vagrant/centos6/Vagrantfile')
-rw-r--r--vagrant/centos6/Vagrantfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/vagrant/centos6/Vagrantfile b/vagrant/centos6/Vagrantfile
new file mode 100644
index 0000000..7ad975e
--- /dev/null
+++ b/vagrant/centos6/Vagrantfile
@@ -0,0 +1,23 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+Vagrant.configure("2") do |config|
+ config.vm.box = "centos/6"
+
+ config.vm.synced_folder ".", "/vagrant", disabled: true
+ config.vm.synced_folder "../../", "/bindfs",
+ type: "rsync",
+ rsync__auto: false,
+ rsync__exclude: ["vagrant"],
+ rsync__args: ["-av", "--delete-after"]
+
+ config.vm.provider "virtualbox" do |v|
+ v.name = "bindfs-centos6"
+ end
+
+ config.vm.provision "shell", inline: <<-SHELL
+ yum install -y fuse fuse-devel gcc make pkg-config ruby valgrind
+ usermod -G fuse -a vagrant
+ echo user_allow_other > /etc/fuse.conf
+ SHELL
+end