bond executor: Fix bond param regex

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
Maximilian Wilhelm 2021-03-24 14:42:33 +01:00
parent 9faa988326
commit e88a6b7e10

View file

@ -9,7 +9,7 @@
get_bond_options() { get_bond_options() {
# We only care for options of format IF_BOND_<OPTION_NAME> # We only care for options of format IF_BOND_<OPTION_NAME>
env | grep '^IF_BOND_[A-Z0-9_]\+$' | while IFS="=" read opt value; do env | grep '^IF_BOND_[A-Z0-9_]\+' | while IFS="=" read opt value; do
# Members are handled seperately # Members are handled seperately
if [ "${opt}" = "IF_BOND_MEMBERS" ]; then if [ "${opt}" = "IF_BOND_MEMBERS" ]; then
continue continue