summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-02 17:06:26 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-02 17:06:26 -0800
commit25349a1237d0e14cd4c30efc96061b2bf2926d74 (patch)
treed7dda4e60ad9ed02e11594a84b0f9f64199bf882 /templates
parent5f7d237822a7d430d7afa58cbb6339642cf3ab76 (diff)
downloadvyatta-cfg-25349a1237d0e14cd4c30efc96061b2bf2926d74.tar.gz
vyatta-cfg-25349a1237d0e14cd4c30efc96061b2bf2926d74.zip
Fix delete of VIF
Syntax is not the same for 'ip link delete'
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.def6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.def b/templates/interfaces/ethernet/node.tag/vif/node.def
index 2166f80..e496a7c 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.def
@@ -5,6 +5,10 @@ syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 4094; "VLAN ID must be between 0 a
create: sudo ip link add link $VAR(../@) name "$VAR(../@).$VAR(@)" type vlan id $VAR(@)
sudo ip link set "$VAR(../@).$VAR(@)" up
/opt/vyatta/sbin/vyatta-link-detect "$VAR(../@).$VAR(@)" on
-delete: sudo ip link delete link "$VAR(../@).$VAR(@)" type vlan id $VAR(@)
+delete: sudo ip link delete "$VAR(../@).$VAR(@)" type vlan id $VAR(@)
comp_help: possible completions:
<0-4094> Set VLAN ID
+
+
+
+