Skip to content

Commit 5d0d632

Browse files
committed
Permissive mode for green selinux
Set selinux explicitly in permissive mode for green flavor. Signed-off-by: Fredrik Lönnegren <[email protected]>
1 parent 64638c8 commit 5d0d632

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/green/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ RUN systemd-sysusers
8080
# This is for automatic testing purposes, do not do this in production.
8181
RUN echo "PermitRootLogin yes" > /etc/ssh/sshd_config.d/rootlogin.conf
8282

83-
# SELinux in enforce mode
84-
#RUN sed -i "s|SELINUX=.*|SELINUX=enforcing|g" /etc/selinux/config
83+
# SELinux in permissive mode
84+
RUN sed -i "s|SELINUX=.*|SELINUX=permissive|g" /etc/selinux/config
8585

8686
# Add default snapshotter setup
8787
ADD snapshotter.yaml /etc/elemental/config.d/snapshotter.yaml

0 commit comments

Comments
 (0)