-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
25 lines (21 loc) · 857 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define :serapache do |serapache|
serapache.vm.box = "debian/buster64"
serapache.vm.hostname = "servidor"
serapache.vm.network :public_network,:bridge=>"wlp1s0"
serapache.vm.network :private_network, ip: "192.168.100.1", virtualbox__intnet:"mired1"
#nodo1.vm.network :private_network, ip: "192.168.200.1", virtualbox__intnet:"mired2"
end
config.vm.define :nodo2 do |nodo2|
nodo2.vm.box = "debian/buster64"
nodo2.vm.hostname = "nodolan1"
nodo2.vm.network :private_network, ip:"192.168.100.2", virtualbox__intnet:"mired1"
end
#config.vm.define :nodo3 do |nodo3|
# nodo3.vm.box = "debian/buster64"
#nodo3.vm.hostname = "nodolan2"
#nodo3.vm.network :private_network, type:"dhcp", virtualbox__intnet:"mired2"
#end
end