diff options
-rw-r--r-- | debian/control | 1 | ||||
-rw-r--r-- | templates/interfaces/ethernet/node.tag/bond-group/node.def | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/debian/control b/debian/control index 731e7d3e..a842ee97 100644 --- a/debian/control +++ b/debian/control @@ -28,7 +28,6 @@ Depends: sed (>= 4.1.5), openssh-server (>= 1:5.1p1-3), ed, tshark, - ifenslave-2.6, iputils-arping, installation-report, laptop-detect, diff --git a/templates/interfaces/ethernet/node.tag/bond-group/node.def b/templates/interfaces/ethernet/node.tag/bond-group/node.def index 2109b5ac..ee9e283f 100644 --- a/templates/interfaces/ethernet/node.tag/bond-group/node.def +++ b/templates/interfaces/ethernet/node.tag/bond-group/node.def @@ -3,5 +3,5 @@ help: Add this interface to a bonding group commit:expression: exec \ "/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --check=bonding" allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=bonding -create: sudo ifenslave $VAR(@) $VAR(../@) -delete: sudo ifenslave -d $VAR(@) $VAR(../@) +create: sudo sh -c "echo +$VAR(../@) > /sys/class/net/$VAR(@)/bonding/slaves" +delete: sudo sh -c "echo -$VAR(../@) > /sys/class/net/$VAR(@)/bonding/slaves" |