hosts = [
{ name: 'wcs_local_env', hostname: 'wcs.testlab', username: 'vagrant', ip: ['192.168.11.69','192.168.11.70'], mbox: 'centos/7', },
]
Vagrant.configure("2") do |config|
hosts.each do |host|
config.vm.define host[:name] do |c|
c.vm.box = host[:mbox]
c.vm.hostname = host[:hostname]
host[:ip].each_with_index do |ipadr, i|
c.vm.network :private_network, ip: ipadr, netmask: '255.255.255.0'
end
end
end
end
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/b6953a3e-3392-445e-ab07-bf900b80e9c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/b6953a3e-3392-445e-ab07-bf900b80e9c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro