aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant/centos6/Vagrantfile
blob: ae291feec34df4dcb670713ccaaa1f87e5b64b87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "centos/6"

  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-centos6"
  end

  # Don't install valgrind here since it appears to be broken (2019-04-28)
  config.vm.provision "shell", inline: <<-SHELL
    yum install -y fuse fuse-devel gcc make pkg-config ruby
    usermod -G fuse -a vagrant
    echo user_allow_other > /etc/fuse.conf
  SHELL
end