Added default values for headless install.

This commit is contained in:
Filip Strajnar 2024-06-21 17:26:29 +02:00
parent 37fba62c29
commit 2b73d5e1a4

View File

@ -645,6 +645,8 @@ function installOpenVPN() {
CLIENT=${CLIENT:-client}
PASS=${PASS:-1}
CONTINUE=${CONTINUE:-y}
CLIENT_TO_CLIENT_OPTION="y"
ADDPORT="y"
# Behind NAT, we'll default to the publicly reachable IPv4/IPv6.
if [[ $IPV6_SUPPORT == "y" ]]; then