directus bootstrap 6
This commit is contained in:
parent
39f5361b4b
commit
7e1a4220d0
|
@ -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}"
|
||||||
|
|
Loading…
Reference in New Issue