From edcd6783d0107b22740de061070d7e174bb96a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Tue, 10 Sep 2024 19:22:13 +0000 Subject: [PATCH] dont use static mount point in remediation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- tests/1_host_configuration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/1_host_configuration.sh b/tests/1_host_configuration.sh index 4435b50..a22b37c 100644 --- a/tests/1_host_configuration.sh +++ b/tests/1_host_configuration.sh @@ -19,7 +19,7 @@ check_1_1() { check_1_1_1() { local id="1.1.1" local desc="Ensure a separate partition for containers has been created (Automated)" - local remediation="For new installations, you should create a separate partition for the /var/lib/docker mount point. For systems that have already been installed, you should use the Logical Volume Manager (LVM) within Linux to create a new partition." + local remediation="For new installations, you should create a separate partition for the $(docker info -f '{{ .DockerRootDir }}') mount point. For systems that have already been installed, you should use the Logical Volume Manager (LVM) within Linux to create a new partition." local remediationImpact="None." local check="$id - $desc" starttestjson "$id" "$desc"