forked from pyinfra-dev/pyinfra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
51 lines (39 loc) · 1.23 KB
/
Vagrantfile
File metadata and controls
51 lines (39 loc) · 1.23 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# pyinfra test VM's
Vagrant.configure('2') do |config|
# Disable /vagrant synced folder
config.vm.synced_folder '.', '/vagrant', disabled: true
# Set the boxes memory (11 boxes = ~2.8G total)
config.vm.provider 'virtualbox' do |v|
v.memory = 256
end
# Disable updating/installing Virtualbox guest additions with vagrant-vbguest
if Vagrant.has_plugin?('vagrant-vbguest')
config.vbguest.auto_update = false
end
# Begin pyinfra test VM's:
#
config.vm.define :ubuntu16 do |ubuntu|
ubuntu.vm.box = 'bento/ubuntu-16.04'
end
config.vm.define :ubuntu18 do |ubuntu|
ubuntu.vm.box = 'bento/ubuntu-18.04'
end
config.vm.define :debian8 do |debian|
debian.vm.box = 'bento/debian-8'
end
config.vm.define :debian9 do |debian|
debian.vm.box = 'bento/debian-9'
end
config.vm.define :centos6 do |centos|
centos.vm.box = 'bento/centos-6'
end
config.vm.define :centos7 do |centos|
centos.vm.box = 'bento/centos-7'
end
config.vm.define :fedora24 do |fedora|
fedora.vm.box = 'bento/fedora-24'
end
config.vm.define :openbsd6 do |openbsd|
openbsd.vm.box = 'generic/openbsd6'
end
end