From ad93c64862b66db95bf107617494546a44f01596 Mon Sep 17 00:00:00 2001 From: konsthol Date: Tue, 5 Sep 2023 05:23:12 +0300 Subject: [PATCH] :(:( --- harden | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/harden b/harden index 34d6fad..9079253 100755 --- a/harden +++ b/harden @@ -338,9 +338,7 @@ EOF "path": "/home/secdep/bin/runsc", "runtimeArgs": [ "--network=host", -"--ignore-cgroups=true", -"--overlay2 all:memory", -"--rootless" +"--ignore-cgroups=true" ] } } @@ -502,7 +500,7 @@ function main { printf "%s" "Fail2ban configured" # Call the dockerInit function with the arguments passed to the script dockerInit "$@" || exit 1 # Initialize docker and exit if it fails - printf "%s" "Docker Rootless, docker-compose and gVisor installed" + printf "%s" "Docker Rootless, docker-compose and gVisor installed and configured" printf "%s" "Portainer along with any specified docker images from the command line or a docker-compose.yml file installed" enableServices || exit 1 # Enable the services that need to be restarted and the firewall printf "%s" "Services restarted and firewall enabled"