From f76652038e1dc218c68dd10774595cb866e1b230 Mon Sep 17 00:00:00 2001
From: Robert Bays <robert@vyatta.com>
Date: Tue, 15 Mar 2011 11:19:18 -0700
Subject: fix for bug 6919: Console settings don't support hvc0 for xen

---
 templates/system/console/device/node.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'templates/system/console/device/node.def')

diff --git a/templates/system/console/device/node.def b/templates/system/console/device/node.def
index 20fd6580..56191819 100644
--- a/templates/system/console/device/node.def
+++ b/templates/system/console/device/node.def
@@ -3,6 +3,6 @@ type: txt
 help: Serial console device name
 val_help: <ttyXX>; Serial device name
 
-syntax:expression: pattern $VAR(@) "^tty[A-Z]+[0-9]+$" \
+syntax:expression: pattern $VAR(@) "^tty[A-Z]+[0-9]+$ || ^hvc[0-9]+" \
 	; "console $VAR(@): not a valid tty name"
 
-- 
cgit v1.2.3

