Sha256: b0f5872b88eec69f9ee0fa8a4264685e0c8c601690536b89832e4227fce170ab
Contents?: true
Size: 395 Bytes
Versions: 31
Compression:
Stored size: 395 Bytes
Contents
VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = 'hashicorp/precise64' json_config_path = File.join("test", "boxes.json") list = File.open(json_config_path).read list = JSON.parse(list) list.each do |vm| config.vm.define vm["name"] do |web| web.vm.network "forwarded_port", guest: 22, host: vm["port"] end end end
Version data entries
31 entries across 31 versions & 2 rubygems