Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Suggest correct vpn hostname in auto-install script #420

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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