summaryrefslogtreecommitdiff
path: root/templates/system/domain-name/node.def
blob: 429fd47fbf3bfdb37d1ebd89d9ccef1441d66385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
priority: 400
type: txt
help: System domain name

# Allow letter-number-hyphen in label (but can not start or end with hyphen)
syntax:expression: exec "/opt/vyatta/sbin/vyatta_check_domainname.pl $VAR(../host-name).$VAR(@)"

update: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl
        sudo /opt/vyatta/sbin/vyatta_update_hosts.pl

delete: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl
        sudo /opt/vyatta/sbin/vyatta_update_hosts.pl