mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
dynamically choose test NICs in alphanumeric sort order
This commit is contained in:
@@ -208,8 +208,8 @@ if [ -n "$test_profile" ]; then
|
||||
fi
|
||||
|
||||
ALLOW_CIDR=0.0.0.0/0
|
||||
MNIC=eth0
|
||||
BNICS=eth1
|
||||
MNIC=$(ls -1 /sys/class/net | head -1)
|
||||
BNICS=$(ls -1 /sys/class/net | head -2 | tail -1)
|
||||
WEBUSER=onionuser@somewhere.invalid
|
||||
WEBPASSWD1=0n10nus3r
|
||||
WEBPASSWD2=0n10nus3r
|
||||
|
||||
Reference in New Issue
Block a user