-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
32 lines (25 loc) · 1.01 KB
/
Vagrantfile
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
26
27
28
29
30
31
32
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "precise64" do |n|
n.vm.hostname = "precise64"
n.vm.box = "hashicorp/precise64"
# The number of ports must be specified, since the default is 0
n.libcloud_helper.allocate_sata_ports = 30
end
config.vm.define "precise64-no-allocate" do |n|
n.vm.hostname = "precise64-no-allocate"
n.vm.box = "hashicorp/precise64"
end
# Test on a non-Linux box. This one, for instance, has no SATA adapter.
config.vm.define "openbsd55" do |n|
n.vm.hostname = "openbsd55"
n.vm.box = "tmatilai/openbsd-5.5"
n.libcloud_helper.allocate_sata_ports = 2
# This Vagrant box does not boot when the host is behind an HTTP/FTPs
# proxy, beacuse Vagrant tries to install the OpenBSD package ``rsync``
# in order to implement rsync shared folders, which are the default.
# We disable them anyway, since we do not need them for this demo.
n.vm.synced_folder ".", "/vagrant", disabled: true
end
end