-
Notifications
You must be signed in to change notification settings - Fork 5
/
Vagrantfile.verbose
29 lines (26 loc) · 1.24 KB
/
Vagrantfile.verbose
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# 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.
SIEM_IP = "172.28.128.20"
SIEM_CN = "siem.lab"
Vagrant.configure("2") do |config|
config.vm.define "siem" do |cfg|
cfg.vm.box = "ubuntu/xenial64"
cfg.vm.hostname = "siem"
cfg.vm.network :private_network, ip: SIEM_IP
cfg.vm.provision "shell", path: "siem/scripts/global-update-powershell-config.sh"
cfg.vm.provision "shell", path: "siem/scripts/debian-upgrade.sh"
cfg.vm.provision "shell", path: "siem/scripts/debian-install-java11.sh"
cfg.vm.provision "shell", path: "siem/scripts/debian-check-siem-resources.sh"
cfg.vm.provision "shell", path: "siem/scripts/debian-check-siem-certs.sh", args: [SIEM_CN, SIEM_IP]
cfg.vm.provision "shell", path: "siem/scripts/debian-install-siem.sh", args: [SIEM_CN, SIEM_IP]
cfg.vm.provider "virtualbox" do |vb, override|
vb.customize ["modifyvm", :id, "--memory", 4096]
vb.customize ["modifyvm", :id, "--cpus", 2]
vb.customize ["modifyvm", :id, "--clipboard-mode", "bidirectional"]
end
end
end