From a2eef74971e4639ddd45c4265d9f6d20a994b0d2 Mon Sep 17 00:00:00 2001
From: Elian Loraux <elian.loraux@tetras-libre.fr>
Date: Mon, 24 Feb 2025 10:37:28 +0100
Subject: [PATCH] fix typo

---
 install/Base.sh               | 2 +-
 main.env.sample               | 4 ++--
 utils/configure_base_tools.sh | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/install/Base.sh b/install/Base.sh
index 04e4742..c030146 100644
--- a/install/Base.sh
+++ b/install/Base.sh
@@ -118,7 +118,7 @@ bash $DIR/checks/rkhunter.sh
 
 # Allow maintenance operations:
 mkdir -p /root/.ssh
-if [ "$TETRAS_MAINTENACE" = true ] ; then
+if [ "$TETRAS_MAINTENANCE" = true ] ; then
     cat id_rsa.pub >> /root/.ssh/authorized_keys
 else
     touch /root/.ssh/authorized_keys
diff --git a/main.env.sample b/main.env.sample
index a801a6f..4cce845 100644
--- a/main.env.sample
+++ b/main.env.sample
@@ -15,8 +15,8 @@ export DOMAIN="dev.tetras-libre.fr"
 export SERVER_ADMIN="sysadmin@tetras-libre.fr"
 
 # TODO put this variable to false if tetras does not provide maintenance
-# This has the consequence of whether or not the free tetras ssh public key is added to the authorized keys
-export TETRAS_MAINTENACE=true
+# This has the consequence of whether or not the Tetras-Libre ssh public key is added to the authorized keys
+export TETRAS_MAINTENANCE=true
 
 # TODO change ignore domains for fail2ban
 export IGNORE_DOMAINS=(
diff --git a/utils/configure_base_tools.sh b/utils/configure_base_tools.sh
index e4b1960..cd3f851 100755
--- a/utils/configure_base_tools.sh
+++ b/utils/configure_base_tools.sh
@@ -6,7 +6,7 @@ echo "RUN $(basename "$0") ==="
 DIR=$(realpath $(dirname $0)/..)
 if [ ! -e $DIR/main.env ]
 then
-    echo "Please copy in racine of NoCloud Auto Installer main.env.sample to main.env and edit it"
+    echo "Please copy in root of NoCloud Auto Installer main.env.sample to main.env and edit it"
     exit 1
 else
     echo "Environment file loaded"
-- 
GitLab