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