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
This commit is contained in:
sjing 2012-03-01 05:49:24 +00:00
parent fd8f5a82cd
commit 4860996fbf

View File

@ -7659,7 +7659,7 @@ sub prenimnodeset
}
# check the valid attributes.
if (grep(/$attr/, @validattr))
if (grep(/^$attr$/, @validattr))
{
$attrs{$attr} = $value;
}