Skip to content

Commit

Permalink
Add systemd-timesync user
Browse files Browse the repository at this point in the history
This user is needed for systemd-timesyncd service to start without
errors.

Signed-off-by: Fredrik Lönnegren <[email protected]>
  • Loading branch information
frelon authored and davidcassany committed Oct 2, 2024
1 parent 3da515b commit 95cdcb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/green/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ COPY --from=toolkit /usr/bin/elemental /usr/bin/elemental
RUN systemctl enable NetworkManager.service && \
systemctl enable sshd.service

RUN useradd --system systemd-timesync

# This is for automatic testing purposes, do not do this in production.
RUN echo "PermitRootLogin yes" > /etc/ssh/sshd_config.d/rootlogin.conf

Expand Down

0 comments on commit 95cdcb2

Please sign in to comment.