mirror of
https://github.com/unraid/webgui.git
synced 2026-01-05 17:20:04 -06:00
Fix for multiple nics when bridge mode changes.
This commit is contained in:
@@ -198,7 +198,7 @@ libvirtd_start(){
|
||||
sed -ri "/<watchdog model='itco' action='reset'\/>/d" "$XML"
|
||||
fi
|
||||
# get all interface sections
|
||||
ROW=($(grep -nhP '<interface type=' "$XML" | grep -Pom1 '^[0-9]+'))
|
||||
ROW=($(grep -nhP '<interface type=' "$XML" | grep -Po '^[0-9]+'))
|
||||
# get all source sections
|
||||
CAT=($(grep -nhP '<source (bridge|dev)=' "$XML" | awk '{print $1$3}'))
|
||||
for i in ${!ROW[@]}; do
|
||||
|
||||
Reference in New Issue
Block a user