summaryrefslogtreecommitdiff
path: root/templates/system/domain-name/node.def
blob: 96ccc7ae0c6956626d99bff89e3b68ac71825656 (plain)
1
2
3
4
5
6
7
8
9
10
priority: 400
type: txt
help: Set 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:expression: "sudo /opt/vyatta/sbin/vyatta_update_resolv.pl"

# also update localhost line in /etc/hosts (see host-name template)?
delete:expression: "sudo /opt/vyatta/sbin/vyatta_update_resolv.pl"