blob: fb22eb4fd2a7e69821ee78031fde2a5311eb5a61 [file] [log] [blame]
Chetan Gaonkerb926c642016-05-10 08:19:03 -07001# -*- mode: ruby -*-
2# vi: set ft=ruby :
3
4Vagrant.configure(2) do |config|
5
6 if (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
7 config.vm.synced_folder ".", "/cord-tester", mount_options: ["dmode=700,fmode=600"]
8 else
9 config.vm.synced_folder ".", "/cord-tester"
10 end
11
12 config.vm.define "cordtest" do |d|
13 d.vm.box = "ubuntu/trusty64"
14 d.vm.hostname = "cordtest"
15 d.vm.network "private_network", ip: "10.100.198.202"
16 d.vm.provision :shell, path: "src/test/setup/prerequisites.sh"
17 d.vm.provider "virtualbox" do |v|
18 v.memory = 3000
19 end
20 end
21
Chetan Gaonkerb926c642016-05-10 08:19:03 -070022 if Vagrant.has_plugin?("vagrant-cachier")
23 config.cache.scope = :box
24 end
25
26end