From: Cássio Gabriel Date: Sat, 24 Jan 2026 20:03:38 +0000 (-0300) Subject: Add comment on setup.sh X-Git-Tag: v1.0.0~1 X-Git-Url: http://ec2-54-166-230-229.compute-1.amazonaws.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=169e2d17da26ace71b1a834e58519fc73ae1b4bb;p=cloud-security-assessment.git Add comment on setup.sh --- 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