# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "boxen/ubuntu-20.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-ubuntu2004" 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 fuse libfuse-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