dynamically choose test NICs in alphanumeric sort order

This commit is contained in:
Jason Ertel
2023-02-28 15:40:08 -05:00
parent 749c299ed2
commit 205e344034

View File

@@ -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