directus bootstrap 6

This commit is contained in:
Valentin 2024-02-23 22:53:40 +01:00
parent 39f5361b4b
commit 7e1a4220d0
1 changed files with 3 additions and 0 deletions

View File

@ -200,6 +200,9 @@ fi
echo -e "${PURPLE}${BOLD}Enter the domain name of the website${RESET}" echo -e "${PURPLE}${BOLD}Enter the domain name of the website${RESET}"
read domain_name read domain_name
ip=$(hostname -I) ip=$(hostname -I)
if [[ "${ip: -1}" == " " ]]; then
ip="${ip%?}"
fi
echo -e "${PURPLE}${BOLD}Configure the ${domain_name} DNS ZONE as the following${RESET}" echo -e "${PURPLE}${BOLD}Configure the ${domain_name} DNS ZONE as the following${RESET}"
echo -e "${PURPLE}Domain : ${domain_name} | Type : A | Target : ${ip}${RESET}" echo -e "${PURPLE}Domain : ${domain_name} | Type : A | Target : ${ip}${RESET}"
echo -e "${PURPLE}Domain : cms.${domain_name} | Type : A | Target : ${ip}${RESET}" echo -e "${PURPLE}Domain : cms.${domain_name} | Type : A | Target : ${ip}${RESET}"