mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +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
|
fi
|
||||||
|
|
||||||
ALLOW_CIDR=0.0.0.0/0
|
ALLOW_CIDR=0.0.0.0/0
|
||||||
MNIC=eth0
|
MNIC=$(ls -1 /sys/class/net | head -1)
|
||||||
BNICS=eth1
|
BNICS=$(ls -1 /sys/class/net | 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