-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathVagrantfile
More file actions
26 lines (18 loc) · 724 Bytes
/
Vagrantfile
File metadata and controls
26 lines (18 loc) · 724 Bytes
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.network "private_network", ip: "10.2.0.2"
config.vm.host_name = "foregit.foreman.local"
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
# Share code
config.vm.synced_folder(".", "/home/vagrant/foregit")
config.vm.synced_folder("../foreman", "/home/vagrant/foreman")
config.vm.synced_folder("../hammer-cli-foreman", "/home/vagrant/hammer-cli-foreman")
config.vm.provider "virtualbox" do |v|
# Set VM memory
v.customize ["modifyvm", :id, "--memory", 1024]
v.customize ["modifyvm", :id, "--cpus", 2]
end
config.vm.provision "shell", path: "install.sh"
end