Skip to content

Instantly share code, notes, and snippets.

@garbados
Created June 10, 2013 21:22
Show Gist options
  • Save garbados/5752442 to your computer and use it in GitHub Desktop.
Save garbados/5752442 to your computer and use it in GitHub Desktop.
multi-box networking setup
(1..5).each do |i|
config.vm.define "box#{i}" do |box|
box.vm.network :forwarded_port, guest: 5984, host: 8000+i,
auto_correct: true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment