diff options
Diffstat (limited to 'templates/system/static-host-mapping/host-name/node.def')
-rw-r--r-- | templates/system/static-host-mapping/host-name/node.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/system/static-host-mapping/host-name/node.def b/templates/system/static-host-mapping/host-name/node.def index 04abf871..693b5592 100644 --- a/templates/system/static-host-mapping/host-name/node.def +++ b/templates/system/static-host-mapping/host-name/node.def @@ -1,10 +1,11 @@ tag: type: txt -help: Map host name to address +help: Host name for static address mapping syntax:expression: pattern $VAR(@) "^[[:alnum:]][-.[:alnum:]]*[[:alnum:]]$" ; "invalid host name $VAR(@)" + commit:expression: $VAR(./inet) != ""; "IP address for the static mapping must be set" end: sudo sh -c " |