Skip to content

Commit

Permalink
ci/cirrus: disable selinux-dmz kludge for centos-stream-8
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kolyshkin committed Nov 3, 2023
1 parent 1f9d9a3 commit 78960d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
# (only CentOS 7 does not have it).
case $DISTRO in
# TODO: remove centos-stream-8.
centos-7|centos-stream-8)
centos-7)
# Do nothing.
;;
*)
Expand Down

0 comments on commit 78960d0

Please sign in to comment.