-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
73 lines (63 loc) · 2.55 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Windows 10
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
config.vm.define "host02" do |host02|
# Every Vagrant virtual environment requires a box to build off of.
host02.vm.box = "sbrumley/palo-win10"
host02.vm.box_version = "1.2"
host02.vm.hostname = "host02"
host02.vm.network "private_network", ip: "10.0.2.4", auto_config: false
host02.vm.guest = :windows
host02.vm.communicator = "winrm"
host02.vm.boot_timeout = 600
host02.vm.graceful_halt_timeout = 600
host02.vm.network :forwarded_port, guest: 3389, host: 3390, id: "rdp", auto_correct: true
host02.vm.network :forwarded_port, guest: 5985, host: 5986, id: "winrm", auto_correct: true
host02.vm.provider "virtualbox" do |vm|
vm.name = "host02"
vm.gui = false
vm.cpus = 1
vm.memory = 2048
end
## Bootstrap OS
host02.vm.provision "shell", path: "scripts/bootstrap.bat", privileged: true
end
config.vm.define "host01" do |host01|
# Every Vagrant virtual environment requires a box to build off of.
host01.vm.box = "sbrumley/palo-win10"
host01.vm.box_version = "1.2"
host01.vm.hostname = "host01"
host01.vm.network "private_network", ip: "10.0.2.3",auto_config: false
host01.vm.guest = :windows
host01.vm.communicator = "winrm"
host01.vm.boot_timeout = 600
host01.vm.graceful_halt_timeout = 600
## Deep six Defender
host01.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
host01.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
host01.vm.provision "shell", privileged: true, path: "scripts/defender.ps1"
host01.vm.provider "virtualbox" do |vm|
vm.name = "host01"
vm.gui = false
vm.cpus = 1
vm.memory = 2048
end
host01.vm.provision "shell", path: "scripts/bootstrap.bat", privileged: true
end
## Start Up Linux Host03
#config.vm.define "host03" do |host03|
# host03.vm.hostname = "host03"
# host03.vm.box = "ubuntu/bionic64"
# host03.vm.network "private_network", ip: "10.0.2.5", auto_config: false
# host03.vm.provider "virtualbox" do |vm|
# vm.name = "host03"
# vm.gui = false
# vm.cpus = 1
# vm.memory = 2048
# end
# host03.vm.provision "shell", path: "scripts/bootstrap.sh", privileged: true
#end
end