diff options
| author | Martin Pärtel <martin.partel@gmail.com> | 2024-06-05 09:06:49 +0300 |
|---|---|---|
| committer | Martin Pärtel <martin.partel@gmail.com> | 2024-06-05 09:06:49 +0300 |
| commit | ef6e71e3f3257119811b427dd4d5729a5f93e317 (patch) | |
| tree | 2cc18ff23da527c53846985e13f4297a3b421a44 /vagrant/freebsd14 | |
| parent | 9bd2e4223b8050da96ee78e717a9ba2473de9a60 (diff) | |
| download | bindfs-ef6e71e3f3257119811b427dd4d5729a5f93e317.tar.gz | |
FreeBSD 12 -> 14 in Vagrant tests.
Diffstat (limited to 'vagrant/freebsd14')
| -rw-r--r-- | vagrant/freebsd14/Vagrantfile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/vagrant/freebsd14/Vagrantfile b/vagrant/freebsd14/Vagrantfile new file mode 100644 index 0000000..f42d6ba --- /dev/null +++ b/vagrant/freebsd14/Vagrantfile @@ -0,0 +1,33 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.box = "roboxes/freebsd14" + + 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-freebsd14" + end + config.vm.provider "libvirt" do |v| + v.driver = if File.exist?('/dev/kvm') then 'kvm' else 'qemu' end + end + + config.vm.provision "shell", inline: <<-SHELL + pkg update + pkg install -y fusefs-libs3 pkgconf autoconf automake libtool ruby + + kldload fusefs + echo 'fusefs_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 |
