From 169e2d17da26ace71b1a834e58519fc73ae1b4bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A1ssio=20Gabriel?= Date: Sat, 24 Jan 2026 17:03:38 -0300 Subject: [PATCH] Add comment on setup.sh --- assessment/scripts/setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assessment/scripts/setup.sh b/assessment/scripts/setup.sh index b0757bd..a13a652 100644 --- a/assessment/scripts/setup.sh +++ b/assessment/scripts/setup.sh @@ -4,6 +4,8 @@ # Date: 01/24/2026 #!/bin/bash + +# Basic error handling set -euo pipefail # Update the system @@ -24,7 +26,7 @@ sudo curl -L "https://github.com/docker/compose/releases/download/v5.0.0/docker- sudo chmod +x /usr/local/bin/docker-compose # Adjust the kernel to allow more than 65530 VMAs. Wazuh requeriment. -sysctl -w vm.max_map_count=262144 +sudo sysctl -w vm.max_map_count=262144 # Clone the official Wazuh repo git clone https://github.com/wazuh/wazuh-docker.git -b v4.14.2 -- 2.34.1