ameliorations diverses

This commit is contained in:
phil
2025-02-01 20:49:46 +01:00
parent f29e7d8290
commit 9fe6b402c6
3 changed files with 16 additions and 115 deletions

7
wazuh/Vagrantfile vendored
View File

@@ -14,6 +14,7 @@ Vagrant.configure("2") do |config|
v.linked_clone = true
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--ioapic", "on"]
v.check_guest_additions = false
end
# wazuh.
@@ -22,11 +23,11 @@ Vagrant.configure("2") do |config|
wazuh.vm.hostname = "wazuh"
wazuh.vm.network :private_network, ip: "192.168.56.5"
wazuh.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--memory", 4024]
v.customize ["modifyvm", :id, "--memory", 4100]
v.cpus = 2
end
wazuh.vm.provision "shell",
inline: "sudo apt-get update ; sudo apt-get install -y vim curl wget"
inline: "sudo apt-get update ; sudo apt-get install -y vim curl wget gnupg"
wazuh.vm.provision "ansible" do |ansible|
ansible.extra_vars = {
wazuh_db_name: "wazuh",
@@ -45,7 +46,7 @@ Vagrant.configure("2") do |config|
v.customize ["modifyvm", :id, "--memory", 1024]
end
wazucli.vm.provision "shell",
inline: "sudo apt-get update ; sudo apt-get install -y vim curl wget"
inline: "sudo apt-get update ; sudo apt-get install -y vim curl wgeti gnupg"
wazucli.vm.provision "ansible" do |ansible|
ansible.extra_vars = {
srv_name: "wazu-cli",