bootstrapping host...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-10-17 12:19:42 +03:00
parent ec250a5e39
commit a2bc69ba4f

View File

@ -19,7 +19,6 @@ need ifreload
readConfig readConfig
DFL_WAN_PORT=${DFL_WAN_PORT:-enp5s0} DFL_WAN_PORT=${DFL_WAN_PORT:-enp5s0}
DFL_ADMIN_PORT=${DFL_ADMIN_PORT:-enp2s0} DFL_ADMIN_PORT=${DFL_ADMIN_PORT:-enp2s0}
@ -36,6 +35,7 @@ SOFTWARE=(
tmux tmux
) )
BRIDGES_TPL=bootstrap-bridges.tpl
# XXX # XXX
#readVars #readVars
@ -88,7 +88,7 @@ if xreadYes "# Create bridges?" BRIDGES ; then
@ cp "$INTERFACES"{,.new} @ cp "$INTERFACES"{,.new}
BRIDGES="$(\ BRIDGES="$(\
cat bridges.tpl \ cat "$BRIDGES_TPL" \
| expandPCTTemplate \ | expandPCTTemplate \
LAN_BRIDGE WAN_BRIDGE ADMIN_BRIDGE \ LAN_BRIDGE WAN_BRIDGE ADMIN_BRIDGE \
WAN_PORT ADMIN_PORT \ WAN_PORT ADMIN_PORT \