mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
9f6c660cf2
commit
68bd2e6a76
@ -86,13 +86,16 @@ if xreadYes "# Create bridges?" BRIDGES ; then
|
|||||||
|
|
||||||
BRIDGES="$(\
|
BRIDGES="$(\
|
||||||
cat bridges.tpl \
|
cat bridges.tpl \
|
||||||
| expandPCTTemplate WAN_PORT ADMIN_PORT)"
|
| expandPCTTemplate \
|
||||||
|
LAN_BRIDGE WAN_BRIDGE ADMIN_BRIDGE \
|
||||||
|
WAN_PORT ADMIN_PORT \
|
||||||
|
HOST_ADMIN_IP GATE_ADMIN_IP)"
|
||||||
|
|
||||||
if [ -z "$DRY_RUN" ] ; then
|
if [ -z "$DRY_RUN" ] ; then
|
||||||
# XXX add $BRIDGES to /etc/network/interfaces either before the
|
# XXX add $BRIDGES to /etc/network/interfaces either before the
|
||||||
# source command or at the end...
|
# source command or at the end...
|
||||||
# XXX
|
# XXX
|
||||||
echo
|
echo "$BRIDGES" >> /etc/network/interfaces.new
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if reviewApplyChanges /etc/network/interfaces ; then
|
if reviewApplyChanges /etc/network/interfaces ; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user