-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
executable file
·39 lines (31 loc) · 1.44 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# vagrant plugin install vagrant-persistent-storage
# vagrant plugin install vagrant-nfs_guest
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64" #Box Name
config.vm.hostname = 'dev.wemakecustom.com'
config.vm.provider :virtualbox do |virtualbox|
# virtualbox.gui = true # Uncomment to start the VM with the GUI
virtualbox.name = "wmc-dev"
virtualbox.customize ["modifyvm", :id, "--ioapic", "on"]
virtualbox.memory = 4096
virtualbox.cpus = 2
end
config.persistent_storage.enabled = true
config.persistent_storage.location = "data.vdi"
config.persistent_storage.size = 51200
config.persistent_storage.mountname = 'data'
config.persistent_storage.filesystem = 'ext4'
config.persistent_storage.mountpoint = '/media/data'
config.persistent_storage.use_lvm = false
config.ssh.forward_agent = true
config.vm.synced_folder 'home', '/home/vagrant', type: 'nfs_guest'
config.vm.synced_folder 'projects', '/media/data/projects', type: 'nfs_guest'
config.vm.synced_folder '~', '/media/home', type: 'nfs'
config.vm.synced_folder '~/Google Drive/WMC - Repository', '/home/vagrant/wmc-repository', type: 'nfs'
config.vm.network :private_network, ip: "10.10.10.10"
# config.vm.network :public_network
config.vm.provision :shell, :path => "setup/install.sh"
config.vm.provision :shell, :path => "setup/install-lastpass.sh"
end