diff options
-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(@)' |