From ba0011736e748bbe89261c48dd43f95dfb60cd2b Mon Sep 17 00:00:00 2001 From: Karuboniru Date: Wed, 24 Jan 2024 15:48:51 +0000 Subject: [PATCH] update services --- server.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server.yaml b/server.yaml index 0b92703..7608577 100644 --- a/server.yaml +++ b/server.yaml @@ -222,9 +222,14 @@ postprocess: echo "root" | passwd --stdin root mkdir -p /etc/ssh/sshd_config.d echo "PasswordAuthentication no" > /etc/ssh/sshd_config.d/99-password-authentication.conf + # selinux modification semanage fcontext -a -f a -t user_home_t -r 's0' '/media/storage(/.*)?' semodule -i /etc/cils/*.cil /usr/share/udica/templates/{base_container.cil,net_container.cil} rm -rf /etc/cils + # Services + systemctl enable cockpit.socket + systemctl disable sshd + systemctl enable sshd.socket add-files: [