mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 19:20:10 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
48923d599f
commit
ae6b006a4d
@ -81,11 +81,12 @@ if xreadYes "# Create bridges?" BRIDGES ; then
|
||||
conflict="${conflict}, vmbr${!br} (${br})"
|
||||
fi
|
||||
done
|
||||
echo "ERROR: will not overwrite existing bridges: ${conflict:2}" >&2
|
||||
if grep -q "vmbr${!ADMIN_BRIDGE}" "$INTERFACES" ; then
|
||||
echo "NOTE: reusing vmbr${ADMIN_BRIDGE} for ADMIN."
|
||||
else
|
||||
echo "ERROR: will not overwrite existing bridges: ${conflict:2}" >&2
|
||||
exit 1
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ cp "$INTERFACES"{,.bak}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user