summaryrefslogtreecommitdiff
path: root/templates/system/console/device/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/console/device/node.def')
-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 56191819..68ee5724 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]+$ || ^hvc[0-9]+" \
+syntax:expression: pattern $VAR(@) "^((tty[A-Z])||(hvc))+[0-9]+$" \
; "console $VAR(@): not a valid tty name"