cleanup + better defaults...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-10-17 12:32:12 +03:00
parent a2bc69ba4f
commit 046abf01f4
2 changed files with 5 additions and 11 deletions

View File

@ -28,9 +28,12 @@
# LAN_BRIDGE=1
# ADMIN_BRIDGE=2
#
# NOTE: on a clean Proxmox install ADMIN is pre-setup, we will use it
# for bootstrapping and reconfigure it later.
#
ADMIN_BRIDGE=vmbr0
WAN_BRIDGE=
LAN_BRIDGE=
ADMIN_BRIDGE=
# NOTE: it is simpler to statically assign these than to configure dhcp

View File

@ -1,5 +1,5 @@
# NOTE: this assumes a configured bridge (vmbr0?) already exists...
# NOTE: this assumes the ADMIN bridge to exist (proxmox default) and to be vmbr0...
auto vmbr${LAN_BRIDGE}
iface vmbr${LAN_BRIDGE} inet manual
@ -15,12 +15,3 @@ iface vmbr${WAN_BRIDGE} inet manual
bridge-fd 0
#WAN
auto vmbr${ADMIN_BRIDGE}
iface vmbr${ADMIN_BRIDGE} inet static
address ${HOST_ADMIN_IP}
#gateway ${GATE_ADMIN_IPn}
bridge-ports ${ADMIN_PORT}
bridge-stp off
bridge-fd 0
#ADMIN