Skip to content

Commit

Permalink
update services
Browse files Browse the repository at this point in the history
  • Loading branch information
karuboniru committed Jan 24, 2024
1 parent 46fc5a9 commit ba00117
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
[
Expand Down

0 comments on commit ba00117

Please sign in to comment.