aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant/trusty64/Vagrantfile
blob: e7652f6b6cdf5d6ac9668d18331b9acdbdee9e42 (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
25
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/trusty64"

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

  config.vm.provision "shell", inline: <<-SHELL
    apt-get update
    apt-get install -y fuse libfuse-dev build-essential pkg-config ruby1.9 valgrind
    apt-get clean
    adduser vagrant fuse
    echo user_allow_other > /etc/fuse.conf
  SHELL
end