Skip to content

Commit

Permalink
install: install: Use current user as default user
Browse files Browse the repository at this point in the history
The current user also works for sudo commands

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Dec 22, 2023
1 parent f5a33c9 commit f84717e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ then
alias docker=dind
fi

sudo usermod -aG docker pi
sudo usermod -aG docker $USER

# Stop and remove all docker if NO_CLEAN is not defined
test $NO_CLEAN || (
Expand Down Expand Up @@ -240,6 +240,6 @@ rm -rf /var/lib/systemd/random-seed /loader/random-seed
echo "Installation finished successfully."
echo "You can access after the reboot:"
echo "- The computer webpage: http://blueos-avahi.local"
echo "- The ssh client: pi@blueos.local"
echo "- The ssh client: $USER@blueos-avahi.local"
echo "System will reboot in 10 seconds."
sleep 10 && reboot

0 comments on commit f84717e

Please sign in to comment.