- Fix prometheus files path
- Fix sciprt allowing to execute w/out username param
- Add oh-my-zsh installation
- Fix typo un ssh authorized_keys file
- Fix PermitRootLogin disabling
This commit is contained in:
2025-01-23 23:47:10 -03:00
parent c08b6d393e
commit 21515daef1
6 changed files with 34 additions and 9 deletions

View File

@@ -3,6 +3,11 @@
REPO_URL="https://github.com/elAgala/server-initializer"
TARGET_DIR="/tmp/server-initializer"
if [ -z "$1" ]; then
echo "[ ERROR ]: No username provided. Use ./index.sh <username>"
exit 1
fi
if [ ! -d "$TARGET_DIR" ]; then
echo "Cloning the repository..."
git clone "$REPO_URL" "$TARGET_DIR"