dont use static mount point in remediation

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2024-09-10 19:22:13 +00:00
parent 5c42b8ad5f
commit edcd6783d0
No known key found for this signature in database

View file

@ -19,7 +19,7 @@ check_1_1() {
check_1_1_1() { check_1_1_1() {
local id="1.1.1" local id="1.1.1"
local desc="Ensure a separate partition for containers has been created (Automated)" 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 remediationImpact="None."
local check="$id - $desc" local check="$id - $desc"
starttestjson "$id" "$desc" starttestjson "$id" "$desc"