Update bootstrap.sh
This commit is contained in:
@@ -5,7 +5,7 @@ locale-gen en_US.UTF-8
|
||||
# Set the hostname
|
||||
echo "scarif.space" > /etc/hostname
|
||||
|
||||
source /opt/mouse/.env
|
||||
source /opt/ai-mouse/.env
|
||||
|
||||
echo "------- Generating system users -------"
|
||||
useradd -m -p $(echo $USER_PASSWORD | openssl passwd -1 -stdin) chris
|
||||
@@ -20,7 +20,7 @@ echo "------- Setting up SSH -------"
|
||||
mkdir -p /home/chris/.ssh
|
||||
cp /root/.ssh/authorized_keys /home/chris/.ssh/authorized_keys
|
||||
rm /etc/ssh/sshd_config
|
||||
ln -s /opt/mouse/sshd_config /etc/ssh/sshd_config
|
||||
ln -s /opt/ai-mouse/sshd_config /etc/ssh/sshd_config
|
||||
echo "Welcome to The Mouse!" > /etc/motd
|
||||
systemctl restart sshd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user