|
@@ -82,15 +82,15 @@ Vagrant::VERSION >= "1.1.0" and Vagrant.configure("2") do |config|
|
|
|
end
|
|
|
|
|
|
if !FORWARD_DOCKER_PORTS.nil?
|
|
|
- Vagrant::VERSION < "1.1.0" and Vagrant::Config.run do |config|
|
|
|
- (49000..49900).each do |port|
|
|
|
- config.vm.forward_port port, port
|
|
|
- end
|
|
|
+ Vagrant::VERSION < "1.1.0" and Vagrant::Config.run do |config|
|
|
|
+ (49000..49900).each do |port|
|
|
|
+ config.vm.forward_port port, port
|
|
|
end
|
|
|
+ end
|
|
|
|
|
|
- Vagrant::VERSION >= "1.1.0" and Vagrant.configure("2") do |config|
|
|
|
- (49000..49900).each do |port|
|
|
|
- config.vm.network :forwarded_port, :host => port, :guest => port
|
|
|
- end
|
|
|
+ Vagrant::VERSION >= "1.1.0" and Vagrant.configure("2") do |config|
|
|
|
+ (49000..49900).each do |port|
|
|
|
+ config.vm.network :forwarded_port, :host => port, :guest => port
|
|
|
end
|
|
|
+ end
|
|
|
end
|