summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-23 20:45:40 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-23 20:45:40 -0700
commit0e1f76414aad46e320ca173c5b5d29faa7f5a87e (patch)
tree1e6467fbf7dc81dbf5cc6a0099b08043a143d519 /templates
parent87e65021f2a105070cd44578a3d91bef8da2b8e1 (diff)
downloadvyatta-cfg-quagga-0e1f76414aad46e320ca173c5b5d29faa7f5a87e.tar.gz
vyatta-cfg-quagga-0e1f76414aad46e320ca173c5b5d29faa7f5a87e.zip
Fix bad tab completion on interfaces/bonding
Can't use $VAR(../@) in allowed tag, it doesn't get expanded properly.
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/bonding/node.tag/primary/node.def6
1 files changed, 0 insertions, 6 deletions
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
-
-
-
-
-