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: [