bug
This commit is contained in:
parent
ffe4d0181c
commit
7470268a53
|
|
@ -17,5 +17,6 @@ chsh -s /bin/bash $username
|
|||
echo "$username:$password" | chpasswd
|
||||
|
||||
usermod -aG sudo $username
|
||||
usermod -aG docker $username
|
||||
|
||||
echo -e "${PURPLE}${BOLD}User '$username' created with password successfully.${RESET}"
|
||||
|
|
@ -9,26 +9,26 @@ fi
|
|||
echo -e "${PURPLE}${BOLD}Create a user ? (y/N) ${RESET}"
|
||||
read answer
|
||||
if [[ "$answer" == "y" ]]; then
|
||||
. first-install/create_user.sh
|
||||
. bin/first-install/create_user.sh
|
||||
fi
|
||||
|
||||
# SSH
|
||||
echo -e "${PURPLE}${BOLD}Setup SSH ? (y/N) ${RESET}"
|
||||
read answer
|
||||
if [[ "$answer" == "y" ]]; then
|
||||
. first-install/setup_ssh.sh
|
||||
. bin/first-install/setup_ssh.sh
|
||||
fi
|
||||
|
||||
# SWAP
|
||||
echo -e "${PURPLE}${BOLD}Add SWAP ? (y/N) ${RESET}"
|
||||
read answer
|
||||
if [[ "$answer" == "y" ]]; then
|
||||
. first-install/add_swap.sh
|
||||
. bin/first-install/add_swap.sh
|
||||
fi
|
||||
|
||||
# FIREWALL AND FAIL2BAN
|
||||
echo -e "${PURPLE}${BOLD}Setup Firewall and Fail2ban ? (y/N) ${RESET}"
|
||||
read answer
|
||||
if [[ "$answer" == "y" ]]; then
|
||||
. first-install/setup_firewall_fail2ban.sh
|
||||
. bin/first-install/setup_firewall_fail2ban.sh
|
||||
fi
|
||||
Loading…
Reference in New Issue