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:
parent
fd8f5a82cd
commit
4860996fbf
@ -7659,7 +7659,7 @@ sub prenimnodeset
|
||||
}
|
||||
|
||||
# check the valid attributes.
|
||||
if (grep(/$attr/, @validattr))
|
||||
if (grep(/^$attr$/, @validattr))
|
||||
{
|
||||
$attrs{$attr} = $value;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user