aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant/freebsd12
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2021-02-13 15:56:57 +0200
committerMartin Pärtel <martin.partel@gmail.com>2021-02-13 15:56:57 +0200
commitbc5313dc583cad9a3949bd798995ab1ee398ecf6 (patch)
tree3eef96d1b7cbb7a4e05a3ea954b1bc75231c1fd8 /vagrant/freebsd12
parent2cf41a75c11472bd6737b48c61f0a3d30cd6f242 (diff)
downloadbindfs-bc5313dc583cad9a3949bd798995ab1ee398ecf6.tar.gz
Refactored and unit-tested filter_special_opts. Shaved a bunch of yaks on the way.
Diffstat (limited to 'vagrant/freebsd12')
-rw-r--r--vagrant/freebsd12/Vagrantfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/vagrant/freebsd12/Vagrantfile b/vagrant/freebsd12/Vagrantfile
new file mode 100644
index 0000000..213c18c
--- /dev/null
+++ b/vagrant/freebsd12/Vagrantfile
@@ -0,0 +1,30 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+Vagrant.configure("2") do |config|
+ config.vm.box = "roboxes/freebsd12"
+
+ 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-freebsd12"
+ end
+
+ config.vm.provision "shell", inline: <<-SHELL
+ pkg update
+ pkg install -y fusefs-libs pkgconf ruby
+
+ kldload fuse.ko
+ echo 'fuse_load="YES"' >> /boot/loader.conf
+
+ sysctl vfs.usermount=1
+ echo vfs.usermount=1 >> /etc/sysctl.conf
+
+ pw groupmod operator -m vagrant # For access to /dev/fuse
+ SHELL
+end