# install-answers.conf — BridgeLink WebAdmin unattended install answers
# Copy to install-answers.conf (same directory as install.sh)
# or to /etc/bridgelink/install-answers.conf before running install.sh.
#
# Format: bare KEY=VALUE — no export keyword, no surrounding quotes.
# Same format as webadmin.conf (used by systemd EnvironmentFile=).
#
# These values are equivalent to exporting the same vars before running:
#   sudo -E bash install.sh
# The config file approach does NOT require sudo -E.
#
# Precedence: BL_SERVER_URL takes priority over BL_SERVER_URLS if both are set.
# BL_SAME_HOST=1 must not be combined with BL_SERVER_URL/BL_SERVER_URLS (installer exits 1).

# ── License acceptance (required for --non-interactive) ──────────────────────
# Setting 1 records your acceptance of the license terms in the LICENSE and
# SUPPLEMENTAL-TERMS.txt documents shipped next to install.sh.
# Interactive installs prompt for acceptance instead.
#BL_ACCEPT_LICENSE=1

# ── Port ──────────────────────────────────────────────────────────────────────
# HTTPS port BridgeLink WebAdmin listens on. Default: 8444
#BL_PORT=8444

# ── Server URL — uncomment ONE option ────────────────────────────────────────

# Option A: Single remote BridgeLink server (must start with https://)
#BL_SERVER_URL=https://your-bridgelink-server:8443

# Option B: Multiple servers, comma-separated (at least 2, each https://)
#BL_SERVER_URLS=https://server1:8443,https://server2:8443

# Option C: Same Host — WebAdmin manages the BridgeLink installation on this
# server. No server URL is written; WebAdmin auto-authorizes it.
#BL_SAME_HOST=1

# ── Node.js path (optional) ───────────────────────────────────────────────────
# Set only if Node.js is not on PATH. Value = directory containing bin/node.
#NODEJS_HOME=/usr/local
