-
Notifications
You must be signed in to change notification settings - Fork 49
/
Vagrantfile
44 lines (33 loc) · 1.25 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "jump_host" do |jump_host|
jump_host.vm.box = "centos-7"
jump_host.vm.box_url = "https://s3-us-west-2.amazonaws.com/shrike/centos-7.box"
jump_host.vm.hostname = "jumphost.local"
jump_host.vm.synced_folder ".", "/vagrant", disabled: true
jump_host.vm.network "private_network", ip: "172.16.180.10"
jump_host.vm.network "private_network", ip: "172.16.190.10",
virtualbox__intnet: "lan"
jump_host.vm.provision "shell",
inline: "sudo yum install -y net-tools"
jump_host.vm.provider "virtualbox" do |vb|
vb.cpus = 1
vb.memory = "512"
end
end
config.vm.define "target" do |target_host|
target_host.vm.box = "centos-7"
target_host.vm.box_url = "https://s3-us-west-2.amazonaws.com/shrike/centos-7.box"
target_host.vm.hostname = "targethost.local"
target_host.vm.synced_folder ".", "/vagrant", disabled: true
target_host.vm.network "private_network", ip: "172.16.190.20",
virtualbox__intnet: "lan"
target_host.vm.provision "shell",
inline: "sudo yum install -y net-tools"
target_host.vm.provider "virtualbox" do |vb|
vb.cpus = 1
vb.memory = "512"
end
end
end