distro/rhel86+90: set selinux in permissive mode in installers

SELinux in the installer environment is in permissive mode in regular
installation ISOs
This commit is contained in:
Achilleas Koutsou 2022-02-24 17:41:29 +01:00 committed by Tom Gundersen
parent 365d754827
commit a7fbe916b7
18 changed files with 98 additions and 0 deletions

View file

@ -941,6 +941,7 @@ func anacondaTreePipeline(repos []rpmmd.RepoConfig, packages []rpmmd.PackageSpec
"lunmask",
"nfs",
})))
p.AddStage(osbuild.NewSELinuxConfigStage(&osbuild.SELinuxConfigStageOptions{State: osbuild.SELinuxStatePermissive}))
return p
}

View file

@ -945,6 +945,7 @@ func anacondaTreePipeline(repos []rpmmd.RepoConfig, packages []rpmmd.PackageSpec
"lunmask",
"nfs",
})))
p.AddStage(osbuild.NewSELinuxConfigStage(&osbuild.SELinuxConfigStageOptions{State: osbuild.SELinuxStatePermissive}))
return p
}