summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/system/console/device/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system/console/device/node.def b/templates/system/console/device/node.def
index 68ee5724..41fcf3fb 100644
--- a/templates/system/console/device/node.def
+++ b/templates/system/console/device/node.def
@@ -4,6 +4,6 @@ help: Serial console device name
val_help: <ttyXX>; Serial device name
<hvc0>; Xen console
-syntax:expression: pattern $VAR(@) "^((tty[A-Z])||(hvc))+[0-9]+$" \
+syntax:expression: pattern $VAR(@) "^((tty[A-Z])||(hvc)){1}[0-9]+$" \
; "console $VAR(@): not a valid tty name"