Fix interactive install initialization (#1511)

The legacy `interactive` command bypassed `cmd_install`, so it skipped
configuration validation and derived gateway initialization. This left
gateway values empty in Unbound DNS and firewall configuration.

Route new interactive installations through `cmd_install --interactive`
so all install entry points use the same flow. Add focused coverage that
checks validation and gateway preparation happen before installation.

This addresses the root cause reported in #1509.
This commit is contained in:
Stanislas
2026-08-07 21:51:16 +02:00
committed by GitHub
parent d2fc6d444b
commit ad22fd9eb0
4 changed files with 49 additions and 3 deletions
+1
View File
@@ -3,6 +3,7 @@ set -e
echo "=== OpenVPN Server Container ==="
/opt/test/interactive-install-routing.sh /opt/openvpn-install.sh
/opt/test/local-network-detection.sh /opt/openvpn-install.sh
# Create TUN device if it doesn't exist