source: main/waeup-ansible/Vagrantfile @ 13828

Last change on this file since 13828 was 13823, checked in by uli, 9 years ago

Add a Vagrantfile.

And tell something about it in README.

File size: 536 bytes
Line 
1# -*- mode: ruby -*-
2# vi: set ft=ruby :
3
4hosts = {
5  "vh5" => "192.168.36.10",
6  "vh6" => "192.168.36.11",
7  "vh7" => "192.168.36.12"
8}
9
10Vagrant.configure("2") do |config|
11  hosts.each do |name, ip|
12    config.vm.define name do |machine|
13      machine.vm.box = "ubuntu/trusty32"
14      machine.vm.hostname = "%s.sample.org" % name
15      machine.vm.network :private_network, ip: ip
16      machine.vm.provider "virtualbox" do |v|
17          v.name = name
18          v.customize ["modifyvm", :id, "--memory", 200]
19      end
20    end
21  end
22end
Note: See TracBrowser for help on using the repository browser.