|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 02/10] Allow hyphen in host names when parsing properties
The Calxeda midway nodes are e.g. marilith-n4 marilith-n5.
---
Osstest/TestSupport.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index c158b7c..8330aef 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -695,7 +695,7 @@ sub selecthost ($) {
# Finally, we override any host-specific properties from the config
foreach my $k (keys %c) {
- next unless $k =~ m/^HostProp_([a-z0-9]+)_(.*)$/;
+ next unless $k =~ m/^HostProp_([-a-z0-9]+)_(.*)$/;
next unless $1 eq $name;
$setprop->($2, $c{$k});
}
--
1.7.10.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |