Skip to content

Commit

Permalink
Added useradd fix to rpi-5.
Browse files Browse the repository at this point in the history
  • Loading branch information
senthurayyappan committed Sep 30, 2024
1 parent eb03e1b commit b2c598e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Raspberry-Pi-5.Pifile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ email="${EMAIL}"

RUN sed -i "s/raspberrypi/${hostname}/g" /etc/hostname
RUN sed -i "s/raspberrypi/${hostname}/g" /etc/hosts
RUN sh -c "echo ${user}:${password} | chpasswd"

RUN bash -c "id -u ${user} &>/dev/null || useradd -m ${user}"
RUN bash -c "echo ${user}:${password} | chpasswd"

source ./Raspberry-Pi-5/locale.Pifile

Expand Down

0 comments on commit b2c598e

Please sign in to comment.