Sha256: 403825ccb84d728cbb64825bbb04c2065b5e68de1979e931c91f998daa6d52f6
Contents?: true
Size: 543 Bytes
Versions: 4
Compression:
Stored size: 543 Bytes
Contents
VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = 'precise64' config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box" 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.box = "precise64" web.vm.network "forwarded_port", guest: 22, host: vm["port"] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sshkit-1.5.1 | Vagrantfile |
sshkit-1.5.0 | Vagrantfile |
sshkit-1.4.0 | Vagrantfile |
sshkit-1.3.0 | Vagrantfile |