diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2025-04-12 22:15:00 +0300 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2025-04-12 22:15:00 +0300 |
commit | 7016277b54b144514824cfd9d30adcf32bfbfe67 (patch) | |
tree | af4f9fc779958217794b6d4c6f73cbad9c667dc1 /vagrant/ubuntu2404 | |
parent | f1b6432e1226be1563d5e631ccfa044b74a30b5b (diff) | |
download | bindfs-7016277b54b144514824cfd9d30adcf32bfbfe67.tar.gz |
Updated Vagrant test setup
Diffstat (limited to 'vagrant/ubuntu2404')
-rw-r--r-- | vagrant/ubuntu2404/Vagrantfile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vagrant/ubuntu2404/Vagrantfile b/vagrant/ubuntu2404/Vagrantfile new file mode 100644 index 0000000..23ae419 --- /dev/null +++ b/vagrant/ubuntu2404/Vagrantfile @@ -0,0 +1,28 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.box = "boxen/ubuntu-24.04" + + 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-ubuntu2404" + 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 + apt-get update + apt-get install -y fuse3 libfuse3-dev build-essential automake autoconf libtool pkg-config ruby valgrind + apt-get clean + adduser vagrant fuse + echo user_allow_other > /etc/fuse.conf + SHELL +end |