mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
avoid docker and lo nics getting used by test profiles
This commit is contained in:
@@ -218,8 +218,9 @@ if [ -n "$test_profile" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
ALLOW_CIDR=0.0.0.0/0
|
ALLOW_CIDR=0.0.0.0/0
|
||||||
MNIC=$(ls -1 /sys/class/net | head -1)
|
nic_list=$(ls -1 /sys/class/net | grep -v docker | grep -v lo)
|
||||||
BNICS=$(ls -1 /sys/class/net | head -2 | tail -1)
|
MNIC=$(echo "$nic_list" | head -1)
|
||||||
|
BNICS=$(echo "$nic_list" | head -2 | tail -1)
|
||||||
WEBUSER=onionuser@somewhere.invalid
|
WEBUSER=onionuser@somewhere.invalid
|
||||||
WEBPASSWD1=0n10nus3r
|
WEBPASSWD1=0n10nus3r
|
||||||
WEBPASSWD2=0n10nus3r
|
WEBPASSWD2=0n10nus3r
|
||||||
|
|||||||
Reference in New Issue
Block a user