-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
28 lines (24 loc) · 935 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define "r10" do |r|
r.vm.box = "bento/ubuntu-18.04"
# r.vm.box = "bento/ubuntu-16.04"
# r.vm.box = "hashicorp/precise32"
# Add a private network between routers
r.vm.network("private_network", ip: "192.168.11.10")
r.vm.network("private_network", ip: "192.168.12.10")
r.vm.provision :shell, path: "bootstrap-gen.sh"
end
config.vm.define "r20" do |r|
r.vm.box = "bento/ubuntu-18.04"
# r.vm.box = "bento/ubuntu-16.04"
# r.vm.box = "hashicorp/precise32"
# Add a private network between routers
r.vm.network "private_network", ip: "192.168.13.20"
r.vm.network "private_network", ip: "192.168.12.20"
r.vm.provision :shell, path: "bootstrap-gen.sh"
end
end