From bc5313dc583cad9a3949bd798995ab1ee398ecf6 Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Sat, 13 Feb 2021 15:56:57 +0200 Subject: Refactored and unit-tested filter_special_opts. Shaved a bunch of yaks on the way. --- vagrant/freebsd12/Vagrantfile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 vagrant/freebsd12/Vagrantfile (limited to 'vagrant/freebsd12') 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 -- cgit v1.2.3