diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2010-03-09 11:07:48 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2010-03-09 11:07:48 -0800 |
commit | 470ccbe9546b2f7cf606c8a9e2a648cb00758564 (patch) | |
tree | 40ec051f52784fc9014d01ddf3a36564b857568b | |
parent | 4ab3e62397765f48eca5823bca5fbe5335177c78 (diff) | |
parent | eda28eadc0e429150a6575f4de99ea6ea1101000 (diff) | |
download | vyatta-cfg-system-470ccbe9546b2f7cf606c8a9e2a648cb00758564.tar.gz vyatta-cfg-system-470ccbe9546b2f7cf606c8a9e2a648cb00758564.zip |
Merge branch 'larkspur' of http://git.vyatta.com/vyatta-cfg-system into larkspur
-rw-r--r-- | templates/interfaces/bonding/node.tag/primary/node.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/interfaces/bonding/node.tag/primary/node.def b/templates/interfaces/bonding/node.tag/primary/node.def index bae8a499..ffa0fd6e 100644 --- a/templates/interfaces/bonding/node.tag/primary/node.def +++ b/templates/interfaces/bonding/node.tag/primary/node.def @@ -1,5 +1,6 @@ type: txt -syntax:expression: exec \ +priority: 320 # must be after ethernet bond-group +commit:expression: exec \ "grep -s $VAR(@) /sys/class/net/$VAR(../@)/bonding/slaves" \ ; "Ethernet interface must be part of the bonding group" update: sudo sh -c "echo $VAR(@) >/sys/class/net/$VAR(../@)/bonding/primary" |