mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
ci/cirrus: disable selinux-dmz kludge for centos-stream-8
It now comes with container-selinux 2:2.224.0-1.module_el8+712+4cd1bd69, so we only need the kludge for CentOS 7 (which, I guess, is the sole reason why we have this kludge at all). Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
+3
-3
@@ -160,10 +160,10 @@ task:
|
||||
sed -e "s,PermitRootLogin.*,PermitRootLogin prohibit-password,g" -i /etc/ssh/sshd_config
|
||||
systemctl restart sshd
|
||||
|
||||
# Disable the dmz-vs-selinux workaround for distros that have container-selinux >= 2.224.0.
|
||||
# Disable the dmz-vs-selinux workaround for distros that have
|
||||
# container-selinux >= 2.224.0 (CentOS 7 does not have it).
|
||||
case $DISTRO in
|
||||
# TODO: remove centos-stream-8.
|
||||
centos-7|centos-stream-8)
|
||||
centos-7)
|
||||
# Do nothing.
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user