Sha256: 68374028f9e3ace59b8003fb7f546d00919e097eba588d212a24cd2b4b39301c
Contents?: true
Size: 712 Bytes
Versions: 4
Compression:
Stored size: 712 Bytes
Contents
Vagrant::Config.run do |config| def apply_common_config_options(c) c.vm.box = "precise64" c.vm.box_url = "http://files.vagrantup.com/precise64.box" c.vm.provision :shell, :inline => "sudo mkdir -p /root/.ssh && sudo cp /home/vagrant/.ssh/authorized_keys /root/.ssh/" end config.vm.define :weave1 do |config| config.vm.host_name = "weave1" config.vm.network :hostonly, "1.2.3.90" config.vm.forward_port 22, 3220 # ssh apply_common_config_options(config) end config.vm.define :weave2 do |config| config.vm.host_name = "weave2" config.vm.network :hostonly, "1.2.3.91" config.vm.forward_port 22, 3221 #ssh apply_common_config_options(config) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
weave-1.1.0.pre.beta1 | Vagrantfile |
weave-1.0.2.beta1 | Vagrantfile |
weave-1.0.1 | Vagrantfile |
weave-1.0.0 | Vagrantfile |