From 40d9cc966a29ecb15aeb3f77ac9239acf3139457 Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 11 Jun 2009 07:26:29 +0000 Subject: [PATCH] regular expression noderange support with *def commands git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index cbc281a11..19792436f 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -274,7 +274,7 @@ sub processArgs # if the type was not provided or it is "node" # then set noderange - @::noderange = &noderange($a, 0); + @::noderange = &noderange($a, 1); # Use the "verify" option to support regular expression } } @@ -520,7 +520,7 @@ sub processArgs } elsif ($::opt_t eq 'node') { - @::clobjnames = &noderange($::opt_o, 0); + @::clobjnames = &noderange($::opt_o, 1); #Use the "verify" option to support regular expression } else {