summaryrefslogtreecommitdiff
path: root/templates/system/host-name/node.def
blob: 00798befdc6367f7e3260736008ee030eeb767a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
priority: 100
type: txt
help: System host name (default: vyos)
default: "vyos"
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