diff options
author | Eshenko Dmitriy <snooppy@mail.ua> | 2019-07-19 01:35:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-19 01:35:14 +0300 |
commit | a75a3556642c5ca96c35dec3f9ce1cb173ed0875 (patch) | |
tree | f8ab0aaccda8bcfb4c16ad46bf233a25bb464194 | |
parent | ec407d330649e687da42edcca46b6ea544f65458 (diff) | |
download | vyatta-cfg-system-a75a3556642c5ca96c35dec3f9ce1cb173ed0875.tar.gz vyatta-cfg-system-a75a3556642c5ca96c35dec3f9ce1cb173ed0875.zip |
Update node.def
-rw-r--r-- | templates/interfaces/bonding/node.tag/primary/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/bonding/node.tag/primary/node.def b/templates/interfaces/bonding/node.tag/primary/node.def index f91b1d6c..98a18a48 100644 --- a/templates/interfaces/bonding/node.tag/primary/node.def +++ b/templates/interfaces/bonding/node.tag/primary/node.def @@ -4,7 +4,7 @@ commit:expression: exec \ "grep -s $VAR(@) /sys/class/net/$VAR(../@)/bonding/slaves" \ ; "Ethernet interface must be part of the bonding group" commit:expression: exec \ - "grep -E '(^active-backup|balance-tlb|balance-alb)' /sys/class/net/$VAR(../@)/bonding/mode" \ + "grep -E '(^active-backup|^balance-tlb|^balance-alb)' /sys/class/net/$VAR(../@)/bonding/mode" \ ; "Bonding must have mode active-backup, transmit-load-balance or adaptive-load-balance" update: sudo sh -c "echo $VAR(@) >/sys/class/net/$VAR(../@)/bonding/primary" help: Primary device interface |