summaryrefslogtreecommitdiff
path: root/templates/system/host-name/node.def
blob: 25f22e297d5d477fb8bf942b9d3f913c99b5f514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
priority: 100
type: txt
help: System host name (default: vyatta)
default: "vyatta"
syntax:expression: pattern $VAR(@) "^[[:alnum:]][-.[:alnum:]]*[[:alnum:]]$"
                   ; "invalid host name $VAR(@)"

syntax:expression: pattern $VAR(@) "^.{1,63}$" ; "invalid host-name length"

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

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