Merge pull request #15231 from Security-Onion-Solutions/reyesj2/bond0

fix so-setup error duplicate bond0
This commit is contained in:
Jorge Reyes
2025-11-14 12:12:46 -06:00
committed by GitHub

View File

@@ -716,7 +716,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