diff options
author | Robert Bays <rbays@roatan.(none)> | 2010-01-19 06:27:00 -0800 |
---|---|---|
committer | Robert Bays <rbays@roatan.(none)> | 2010-01-19 06:27:00 -0800 |
commit | 153a88d6cee7ae03a36b8b121dbac523bce0acdd (patch) | |
tree | fca825c0e7562a3006563b579c002b0702a45b53 | |
parent | a19170dd86777da1e240da777c99934a6956fa54 (diff) | |
download | vyatta-cfg-system-153a88d6cee7ae03a36b8b121dbac523bce0acdd.tar.gz vyatta-cfg-system-153a88d6cee7ae03a36b8b121dbac523bce0acdd.zip |
fix bug 5226: Hostname does not allow number as first char
-rw-r--r-- | templates/system/host-name/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system/host-name/node.def b/templates/system/host-name/node.def index 94f38b93..ed6cc7fe 100644 --- a/templates/system/host-name/node.def +++ b/templates/system/host-name/node.def @@ -2,7 +2,7 @@ priority: 400 type: txt help: Set system host name (default: vyatta) default: "vyatta" -syntax:expression: pattern $VAR(@) "^[[:alpha:]][-.[:alnum:]]*[[:alnum:]]$" +syntax:expression: pattern $VAR(@) "^[[:alnum:]][-.[:alnum:]]*[[:alnum:]]$" ; "invalid host name $VAR(@)" update: sudo sh -c " \ hostname '$VAR(@)' |