diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-03-03 14:54:35 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-03-03 14:54:35 -0800 |
commit | b6cedf3ed8cec3f82e0d6fa27f7e86873ea212ea (patch) | |
tree | cc31e491ae0ae6eae93f20d2156a51be61c8c662 | |
parent | db08961aba99c6446c6be8b2fbbd74a65d854e52 (diff) | |
parent | 6fb63ac4b13a625093646476646173559e4fea8b (diff) | |
download | vyatta-cfg-quagga-b6cedf3ed8cec3f82e0d6fa27f7e86873ea212ea.tar.gz vyatta-cfg-quagga-b6cedf3ed8cec3f82e0d6fa27f7e86873ea212ea.zip |
Merge branch 'glendale' of http://git.vyatta.com/vyatta-cfg-system into glendale
-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 54ed9fef..1aba2174 100644 --- a/templates/system/host-name/node.def +++ b/templates/system/host-name/node.def @@ -1,7 +1,7 @@ type: txt help: Configure system host name default: "vyatta" -syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9.]+$" +syntax:expression: pattern $VAR(@) "^[[:alpha:]][-.[:alnum:]]*[[:alnum:]]$" ; "invalid host name $VAR(@)" update: sudo sh -c " \ hostname '$VAR(@)' |