Skip to content

Commit

Permalink
cluster: fix wrong SELINUX disabling config (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroProfundis committed May 26, 2021
1 parent cead1ea commit 179a2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/manager/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ func fixFailedChecks(host string, res *operator.CheckResult, t *task.Builder) (s
case operator.CheckNameSELinux:
t.Shell(host,
fmt.Sprintf(
"sed -i 's/^[[:blank:]]*SELINUX=enforcing/SELINUX=no/g' %s && %s",
"sed -i 's/^[[:blank:]]*SELINUX=enforcing/SELINUX=disabled/g' %s && %s",
"/etc/selinux/config",
"setenforce 0",
),
Expand Down

0 comments on commit 179a2f9

Please sign in to comment.