diff options
Diffstat (limited to 'vagrant')
-rw-r--r-- | vagrant/freebsd10_3/Vagrantfile | 31 | ||||
-rwxr-xr-x | vagrant/test.rb | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/vagrant/freebsd10_3/Vagrantfile b/vagrant/freebsd10_3/Vagrantfile new file mode 100644 index 0000000..87ba424 --- /dev/null +++ b/vagrant/freebsd10_3/Vagrantfile @@ -0,0 +1,31 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + #config.vm.box = "freebsd/FreeBSD-11.0-STABLE" # doesn't set base_mac so can't use NAT networking :( + config.vm.box = "bento/freebsd-10.3" + + 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-freebsd10_3" + end + + config.vm.provision "shell", inline: <<-SHELL + pkg update + pkg install -y fusefs-libs pkgconf ruby valgrind + + 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 diff --git a/vagrant/test.rb b/vagrant/test.rb index 3d14776..eff2a82 100755 --- a/vagrant/test.rb +++ b/vagrant/test.rb @@ -39,6 +39,7 @@ unless specifically_selected_vms.empty? end puts "Running #{dirs.size} VMs in parallel: #{dirs.join(' ')}" +puts "You can follow the progress of each VM by tailing vagrant/*/test.log" puts "Note: if your terminal goes wonky after this command, type 'reset'" mutex = Thread::Mutex.new # protects `$stdout` and `errors` errors = [] |