forked from fgrehm/vagrant-lxc-vbox-hosts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
65 lines (54 loc) · 2.76 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Comment out if you don't have plans to use https://github.com/fgrehm/vagrant-cachier
config.cache.scope = :box
config.cache.auto_detect = true
config.vm.provider :virtualbox do |vb|
vb.customize [ "modifyvm", :id, "--memory", 1536, "--cpus", "2" ]
end
# Choose any Vagrant version from 1.2.0 to 1.6.3
config.vm.provision :shell, path: 'provisioning/install-vagrant.rb', args: "'1.6.3'"
config.vm.provision :shell, path: 'provisioning/install-vagrant-lxc.sh', args: "'1.0.1'"
config.vm.provision :shell, path: 'provisioning/install-cache.sh'
config.vm.define :precise do |ubuntu|
ubuntu.vm.box = 'precise64'
ubuntu.vm.box_url = 'http://files.vagrantup.com/precise64.box'
ubuntu.vm.provision :shell, path: 'provisioning/debian/install-dependencies.sh'
end
config.vm.define :quantal do |ubuntu|
ubuntu.vm.box = 'quantal64'
ubuntu.vm.box_url = 'https://github.com/downloads/roderik/VagrantQuantal64Box/quantal64.box'
ubuntu.vm.provision :shell, path: 'provisioning/debian/install-dependencies.sh'
end
config.vm.define :raring do |ubuntu|
ubuntu.vm.box = 'raring64'
ubuntu.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-amd64-vagrant-disk1.box"
ubuntu.vm.provision :shell, path: 'provisioning/debian/install-dependencies.sh'
end
config.vm.define :saucy do |ubuntu|
ubuntu.vm.box = 'saucy64'
ubuntu.vm.box_url = 'http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-1310-x64-virtualbox-puppet.box'
ubuntu.vm.provision :shell, path: 'provisioning/debian/install-dependencies.sh'
end
config.vm.define :trusty do |ubuntu|
ubuntu.vm.box = 'trusty64'
ubuntu.vm.box_url = 'http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box'
ubuntu.vm.provision :shell, path: 'provisioning/debian/install-dependencies.sh'
end
config.vm.define :wheezy do |debian|
debian.vm.box = 'wheezy64'
debian.vm.box_url = 'http://puppet-vagrant-boxes.puppetlabs.com/debian-70rc1-x64-vbox4210.box'
debian.vm.provision :shell, path: 'provisioning/debian/install-dependencies.sh'
debian.vm.provision :shell, path: 'provisioning/debian/configure-bridge.sh'
end
config.vm.define :fedora19 do |fedora|
fedora.vm.box = 'fedora19'
fedora.vm.box_url = 'https://dl.dropboxusercontent.com/u/86066173/fedora-19.box'
fedora.vm.provision :shell, path: 'provisioning/fedora/install-dependencies.sh'
fedora.vm.provision :shell, path: 'provisioning/fedora/configure-bridge.sh'
# Disable NFS for fedora as the base box we are using does not seem
# to support it
fedora.vm.synced_folder ".", "/vagrant", id: 'vagrant-root', nfs: false
end
end