mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
fix so-setup error duplicate bond0
This commit is contained in:
@@ -729,7 +729,7 @@ configure_network_sensor() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Create the bond interface only if it doesn't already exist
|
# Create the bond interface only if it doesn't already exist
|
||||||
nmcli -f name,uuid -p con | grep -q '$INTERFACE'
|
nmcli -f name,uuid -p con | grep -q "$INTERFACE"
|
||||||
local found_int=$?
|
local found_int=$?
|
||||||
|
|
||||||
if [[ $found_int != 0 ]]; then
|
if [[ $found_int != 0 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user