Skip to content

Commit

Permalink
[fix] Suggest correct vpn hostname in auto-install script
Browse files Browse the repository at this point in the history
  • Loading branch information
youhaveme9 authored and nemesifier committed Dec 23, 2024
1 parent d729421 commit f8156d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/auto-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ setup_docker_openwisp() {
echo -ne ${GRN}"(2/5) Enter API domain (blank for api.${domain}): "${NON}
read api_domain
# VPN domain
echo -ne ${GRN}"(3/5) Enter OpenVPN domain (blank for vpn.${domain}, N to disable module): "${NON}
echo -ne ${GRN}"(3/5) Enter OpenVPN domain (blank for openvpn.${domain}, N to disable module): "${NON}
read vpn_domain
# Site manager email
echo -ne ${GRN}"(4/5) Site manager email: "${NON}
Expand Down Expand Up @@ -147,7 +147,7 @@ setup_docker_openwisp() {
fi
# VPN domain
if [[ -z "$vpn_domain" ]]; then
set_env "VPN_DOMAIN" "vpn.${domain}"
set_env "VPN_DOMAIN" "openvpn.${domain}"
elif [[ "${vpn_domain,,}" == "n" ]]; then
set_env "VPN_DOMAIN" "example.com"
else
Expand Down

0 comments on commit f8156d6

Please sign in to comment.