Skip to content

Commit

Permalink
FreeBSD 12 -> 14 in Vagrant tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpartel committed Jun 5, 2024
1 parent 9bd2e42 commit ef6e71e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vagrant/freebsd12/Vagrantfile → vagrant/freebsd14/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
config.vm.box = "roboxes/freebsd12"
config.vm.box = "roboxes/freebsd14"

config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.synced_folder "../../", "/bindfs",
Expand All @@ -12,18 +12,18 @@ Vagrant.configure("2") do |config|
rsync__args: ["-av", "--delete-after"]

config.vm.provider "virtualbox" do |v|
v.name = "bindfs-freebsd12"
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-libs pkgconf ruby
pkg install -y fusefs-libs3 pkgconf autoconf automake libtool ruby
kldload fuse.ko
echo 'fuse_load="YES"' >> /boot/loader.conf
kldload fusefs
echo 'fusefs_load="YES"' >> /boot/loader.conf
sysctl vfs.usermount=1
echo vfs.usermount=1 >> /etc/sysctl.conf
Expand Down

0 comments on commit ef6e71e

Please sign in to comment.