From 1edcbef6659695508dfecef648fb94e16f445966 Mon Sep 17 00:00:00 2001 From: Robert Bays Date: Tue, 15 Mar 2011 12:33:21 -0700 Subject: match console type only once. --- templates/system/console/device/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/system') 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: ; Serial device name ; 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" -- cgit v1.2.3