| Vagrant.configure(2) do |config| |
| if (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil |
| config.vm.synced_folder ".", "/cord-tester", mount_options: ["dmode=700,fmode=600"] |
| config.vm.synced_folder ".", "/cord-tester" |
| config.vm.define "cordtest" do |d| |
| d.vm.box = "ubuntu/trusty64" |
| d.vm.hostname = "cordtest" |
| d.vm.network "private_network", ip: "10.100.198.202" |
| d.vm.provision :shell, path: "src/test/setup/prerequisites.sh" |
| d.vm.provider "virtualbox" do |v| |
| if Vagrant.has_plugin?("vagrant-cachier") |
| config.cache.scope = :box |