mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 03:00:09 +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
|
# interfaces.clean
|
||||||
@ cp "$INTERFACES"{.new,.clean}
|
@ cp "$INTERFACES"{.new,.clean}
|
||||||
@ sed -i \
|
@ sed -i \
|
||||||
-e 's/^.*gateway .*\n//' \
|
-e '/^.*gateway .*$/' \
|
||||||
"$INTERFACES".clean
|
"$INTERFACES".clean
|
||||||
echo "$BRIDGES" \
|
echo "$BRIDGES" \
|
||||||
| sed \
|
| sed \
|
||||||
@ -166,7 +166,7 @@ if xreadYes "# Create bridges?" BRIDGES ; then
|
|||||||
# interfaces.new (prep)
|
# interfaces.new (prep)
|
||||||
BRIDGES=$(\
|
BRIDGES=$(\
|
||||||
echo "$BRIDGES_BOOTSTRAP" \
|
echo "$BRIDGES_BOOTSTRAP" \
|
||||||
| sed -e 's/^.*gateway .*$//')
|
| sed -e '/^.*gateway .*$/d')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# interfaces.new
|
# interfaces.new
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user