mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
cleanup + better defaults...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a2bc69ba4f
commit
046abf01f4
@ -28,9 +28,12 @@
|
|||||||
# LAN_BRIDGE=1
|
# LAN_BRIDGE=1
|
||||||
# ADMIN_BRIDGE=2
|
# 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=
|
WAN_BRIDGE=
|
||||||
LAN_BRIDGE=
|
LAN_BRIDGE=
|
||||||
ADMIN_BRIDGE=
|
|
||||||
|
|
||||||
|
|
||||||
# NOTE: it is simpler to statically assign these than to configure dhcp
|
# NOTE: it is simpler to statically assign these than to configure dhcp
|
||||||
|
|||||||
@ -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}
|
auto vmbr${LAN_BRIDGE}
|
||||||
iface vmbr${LAN_BRIDGE} inet manual
|
iface vmbr${LAN_BRIDGE} inet manual
|
||||||
@ -15,12 +15,3 @@ iface vmbr${WAN_BRIDGE} inet manual
|
|||||||
bridge-fd 0
|
bridge-fd 0
|
||||||
#WAN
|
#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
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user