mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 18:50:08 +00:00
fixs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
658780c71b
commit
42e03bd07b
@ -156,7 +156,7 @@ if xreadYes "# Create bridges?" BRIDGES ; then
|
||||
# interfaces.clean
|
||||
@ cp "$INTERFACES"{.new,.clean}
|
||||
@ sed -i \
|
||||
-e 's/^.*gateway .*\n//' \
|
||||
-e '/^.*gateway .*$/' \
|
||||
"$INTERFACES".clean
|
||||
echo "$BRIDGES" \
|
||||
| sed \
|
||||
@ -166,7 +166,7 @@ if xreadYes "# Create bridges?" BRIDGES ; then
|
||||
# interfaces.new (prep)
|
||||
BRIDGES=$(\
|
||||
echo "$BRIDGES_BOOTSTRAP" \
|
||||
| sed -e 's/^.*gateway .*$//')
|
||||
| sed -e '/^.*gateway .*$/d')
|
||||
fi
|
||||
|
||||
# interfaces.new
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user