-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathVagrantfile
More file actions
35 lines (27 loc) · 891 Bytes
/
Copy pathVagrantfile
File metadata and controls
35 lines (27 loc) · 891 Bytes
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
29
30
31
32
33
34
35
# -*- mode: ruby -*-
# vi: set ft=ruby :
#BOX_IMAGE = "ubuntu/trusty64"
BOX_IMAGE = "ubuntu/bionic64"
Vagrant.configure(2) do |config|
#config.vm.provision :shell, path: "bootstrap.sh"
config.vm.define "client" do |client|
client.vm.hostname = "client"
client.vm.box = BOX_IMAGE
client.vm.network "private_network", ip: "10.0.2.7",
virtualbox__intnet: true
end
config.vm.define "server" do |server|
server.vm.hostname = "server"
server.vm.box = BOX_IMAGE
server.vm.network "private_network", ip: "10.0.2.8",
virtualbox__intnet: true
server.vm.network "private_network", ip: "192.168.60.1",
virtualbox__intnet: true
end
config.vm.define "target" do |target|
target.vm.hostname = "target"
target.vm.box = BOX_IMAGE
target.vm.network "private_network", ip: "192.168.60.101",
virtualbox__intnet: true
end
end