From 0e1f76414aad46e320ca173c5b5d29faa7f5a87e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 23 Oct 2008 20:45:40 -0700 Subject: Fix bad tab completion on interfaces/bonding Can't use $VAR(../@) in allowed tag, it doesn't get expanded properly. --- templates/interfaces/bonding/node.tag/primary/node.def | 6 ------ 1 file changed, 6 deletions(-) (limited to 'templates/interfaces/bonding') diff --git a/templates/interfaces/bonding/node.tag/primary/node.def b/templates/interfaces/bonding/node.tag/primary/node.def index 171c8daf..bae8a499 100644 --- a/templates/interfaces/bonding/node.tag/primary/node.def +++ b/templates/interfaces/bonding/node.tag/primary/node.def @@ -2,11 +2,5 @@ type: txt syntax:expression: exec \ "grep -s $VAR(@) /sys/class/net/$VAR(../@)/bonding/slaves" \ ; "Ethernet interface must be part of the bonding group" -allowed: cat /sys/class/net/$VAR(../@)/bonding/slaves update: sudo sh -c "echo $VAR(@) >/sys/class/net/$VAR(../@)/bonding/primary" help: Specify the primary device - - - - - -- cgit v1.2.3