1
1
install_pe = false
2
- pe_version = '3.8.0 '
2
+ pe_version = '2016.1 '
3
3
#Vagrant.require_plugin "vagrant-windows"
4
4
5
5
if install_pe
@@ -17,9 +17,12 @@ Vagrant.configure("2") do |config|
17
17
master . vm . box = "centos-6.5-64-nocm"
18
18
19
19
master . vm . provider :virtualbox do |v , override |
20
+ v . linked_clone = true if Vagrant ::VERSION >= '1.8.0'
20
21
override . vm . network :private_network , ip : "192.168.0.6"
21
22
# Use the host's DNS resolver
22
23
v . customize [ "modifyvm" , :id , "--natdnshostresolver1" , "on" ]
24
+ # make sure you've given the master enough memory.
25
+ # It's closer to 6GB req in the 4.x series
23
26
v . customize [ "modifyvm" , :id , "--memory" , "2048" ]
24
27
v . customize [ "modifyvm" , :id , "--cpus" , "2" ]
25
28
end
@@ -54,6 +57,7 @@ Vagrant.configure("2") do |config|
54
57
# centos.vm.provider :virtualbox do |v, override|
55
58
# override.vm.network :private_network, ip: "192.168.0.7"
56
59
# # Use the host's DNS resolver
60
+ # v.linked_clone = true if Vagrant::VERSION >= '1.8.0'
57
61
# v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
58
62
# end
59
63
@@ -115,6 +119,7 @@ Vagrant.configure("2") do |config|
115
119
# Provider-specific configuration so you can fine-tune various
116
120
# backing providers for Vagrant. These expose provider-specific options.
117
121
win2012 . vm . provider :virtualbox do |v , override |
122
+ v . linked_clone = true if Vagrant ::VERSION >= '1.8.0'
118
123
override . vm . network :private_network , ip : "192.168.0.12"
119
124
# Don't boot with headless mode
120
125
v . gui = true
@@ -176,6 +181,7 @@ Vagrant.configure("2") do |config|
176
181
# Provider-specific configuration so you can fine-tune various
177
182
# backing providers for Vagrant. These expose provider-specific options.
178
183
win2008 . vm . provider :virtualbox do |v , override |
184
+ v . linked_clone = true if Vagrant ::VERSION >= '1.8.0'
179
185
override . vm . network :private_network , ip : "192.168.0.12"
180
186
# Don't boot with headless mode
181
187
v . gui = true
@@ -236,6 +242,7 @@ Vagrant.configure("2") do |config|
236
242
# Provider-specific configuration so you can fine-tune various
237
243
# backing providers for Vagrant. These expose provider-specific options.
238
244
win2003 . vm . provider :virtualbox do |v , override |
245
+ v . linked_clone = true if Vagrant ::VERSION >= '1.8.0'
239
246
override . vm . network :private_network , ip : "192.168.0.12"
240
247
# Don't boot with headless mode
241
248
v . gui = true
0 commit comments