From 4860996fbf365e0119edd6ee34b39b3ba8990518 Mon Sep 17 00:00:00 2001 From: sjing Date: Thu, 1 Mar 2012 05:49:24 +0000 Subject: [PATCH] check valid attributes for mkdsklsnode. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/aixinstall.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index 5edffd07d..722c2fbac 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -7659,7 +7659,7 @@ sub prenimnodeset } # check the valid attributes. - if (grep(/$attr/, @validattr)) + if (grep(/^$attr$/, @validattr)) { $attrs{$attr} = $value; }