summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-03-09 11:38:03 -0700
committerStig Thormodsrud <stig@vyatta.com>2009-03-09 11:38:03 -0700
commitd6490b5db349417e9e53c74ef76018f01f729f4c (patch)
tree30bdc8326ecc0105fc6659d83cabc091ea98678a /templates
parent34a9661d2ef0dd0f90ad20196c2e2c0d2b5f40e1 (diff)
downloadvyatta-cfg-d6490b5db349417e9e53c74ef76018f01f729f4c.tar.gz
vyatta-cfg-d6490b5db349417e9e53c74ef76018f01f729f4c.zip
Change tag node to use 'create' instead of 'update' since the cli orders them differently.
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.def2
-rw-r--r--templates/interfaces/ethernet/node.tag/address/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def
index c231b74..d4e86c4 100644
--- a/templates/interfaces/ethernet/node.def
+++ b/templates/interfaces/ethernet/node.def
@@ -4,6 +4,6 @@ help: Set ethernet interface
syntax:expression: exec \
"/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --check=ethernet"
allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=ethernet
-update: sudo ip link set "$VAR(@)" up
+create: sudo ip link set "$VAR(@)" up
/opt/vyatta/sbin/vyatta-link-detect $VAR(@) on
delete: sudo ip link set "$VAR(@)" down
diff --git a/templates/interfaces/ethernet/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/address/node.def
index afbd822..dd4d5fa 100644
--- a/templates/interfaces/ethernet/node.tag/address/node.def
+++ b/templates/interfaces/ethernet/node.tag/address/node.def
@@ -3,7 +3,7 @@ type: txt
help: Set an IP address for this interface
syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr $VAR(@) --dev $VAR(../@)"\
; "Invalid IP address/prefix [$VAR(@)] for interface $VAR(../@)"
-update:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../@)
+create:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../@)
delete:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $VAR(@) --dev $VAR(../@)
allowed: echo "dhcp <>"
comp_help:Possible completions: