summaryrefslogtreecommitdiff
path: root/templates/system/domain-name
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-01-31 07:59:02 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-01-31 07:59:02 -0800
commit622bbf801bd435a3848c669ff2c0e9090cd2bb4e (patch)
tree328d04410e8fed64e6a8b25abdf58f199d916c2d /templates/system/domain-name
parentc2c002021eab0adff7e4d268535170658a1b0c6c (diff)
downloadvyatta-cfg-quagga-622bbf801bd435a3848c669ff2c0e9090cd2bb4e.tar.gz
vyatta-cfg-quagga-622bbf801bd435a3848c669ff2c0e9090cd2bb4e.zip
convert templates to new syntax
Diffstat (limited to 'templates/system/domain-name')
-rw-r--r--templates/system/domain-name/node.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/system/domain-name/node.def b/templates/system/domain-name/node.def
index 4e3902dc..9101f2f3 100644
--- a/templates/system/domain-name/node.def
+++ b/templates/system/domain-name/node.def
@@ -1,9 +1,9 @@
type: txt
-help: "Configure system domain name"
-syntax: pattern $(@) "^[-a-zA-Z0-9.]{0,63}$" ; "invalid domain name $(@)"
+help: Configure system domain name
+syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9.]{0,63}$" ; "invalid domain name $VAR(@)"
# also add localhost line into /etc/hosts (see host-name template)?
-update: "sudo /opt/vyatta/sbin/vyatta_update_resolv.pl"
+update:expression: "sudo /opt/vyatta/sbin/vyatta_update_resolv.pl"
# also update localhost line in /etc/hosts (see host-name template)?
-delete: "sudo /opt/vyatta/sbin/vyatta_update_resolv.pl"
+delete:expression: "sudo /opt/vyatta/sbin/vyatta_update_resolv.pl"