-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
28 lines (20 loc) · 831 Bytes
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.hostname = "foreman.cloudcomplab.dev"
config.vm.box = "ubuntu1204-latest"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
# private management networks
config.vm.network :private_network, ip: "10.10.10.2" # stable
config.vm.network :private_network, ip: "10.10.11.2" # research
# public data networks
config.vm.network :private_network, ip: "192.168.100.2" # stable
config.vm.network :private_network, ip: "192.168.101.2" # research
config.vm.provider :virtualbox do |vb|
vb.gui = false
vb.name = "vagrant_foreman"
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
config.vm.synced_folder "src/", "/tmp/files-to-go"
config.vm.provision :shell, :path => "src/script.sh"
end