# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
#agent box
(1..5).each do |i|
vm_name = "agent#{i}"
config.vm.define vm_name do |agent|
agent.vm.hostname = vm_name
end
end
end
Alvaro
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/5bf96783-1343-48f3-a293-5e330b8537af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
["alpha", "beta"].to_enum.with_index(1).each do |vm_name, i|
config.vm.define vm_name do |agent|
agent.vm.hostname = vm_name
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/4bf8563c-f835-4ee2-92d8-f1b3f39d4011%40googlegroups.com.