Skip to content

Commit

Permalink
Merge branch 'main' into 324-bug-sanitize_input-does-not-work-as-expe…
Browse files Browse the repository at this point in the history
…cted
  • Loading branch information
Tearran authored Jan 10, 2025
2 parents 2836248 + 343887d commit de72e38
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 1 deletion.
File renamed without changes
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tools/modules/software/module_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function module_docker() {
fi

groupadd docker 2>/dev/null || true
usermod -aG docker $SUDO_USER
[[ -n "${SUDO_USER}" ]] && usermod -aG docker "${SUDO_USER}"
systemctl enable docker.service > /dev/null 2>&1
systemctl enable containerd.service > /dev/null 2>&1
systemctl start docker.service > /dev/null 2>&1
Expand Down
2 changes: 2 additions & 0 deletions tools/modules/system/module_sshserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ function module_openssh-server () {
exit 1
fi
done
# install rsync
docker exec -it openssh-server /bin/bash -c "apk update; apk add rsync"
;;
"${commands[1]}")
[[ "${container}" ]] && docker container rm -f "$container" >/dev/null
Expand Down

0 comments on commit de72e38

Please sign in to comment.