hashipi

Raspberry Pi Test Cluster for HashiCorp Vault, Nomad and Consul
git clone https://git.in0rdr.ch/hashipi.git
Log | Files | Refs | Pull requests |Archive | README

commit 5a33e0dba7f86281bdd59e94ec2323d049197677
parent 3117d70f396289164ff7f714d2d688ff576b6e1b
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Fri, 19 Sep 2025 23:10:29 +0200

fix: useradd paths

Diffstat:
Mbootstrap.sh | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bootstrap.sh b/bootstrap.sh @@ -54,11 +54,11 @@ touch /boot/ssh sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/g' /etc/ssh/sshd_config # Delete default user pi -userdel -r pi +/usr/sbin/userdel -r pi # Create user -useradd -m "${USERNAME}" -usermod -aG sudo "${USERNAME}" +/usr/sbin/useradd -m "${USERNAME}" +/usr/sbin/usermod -aG sudo "${USERNAME}" # Setup ssh keys mkdir "/home/${USERNAME}/.ssh"