2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

modify xcattest

This commit is contained in:
junxiawang 2015-06-22 23:30:24 -04:00
parent f756ce2211
commit f781865740

View File

@ -694,9 +694,11 @@ sub getfunc
while($str =~ /__(\w+)\(([\s\,\w\$]*)\)__/){
$func = $1;
$parameter = $2;
log_this("parameter is $parameter,fun is $func");
@para = split /\s*,\s*/, trim($parameter);
if($func eq "GETNODEATTR"){
$value= getnodeattr(@para);
log_this("value is $value");
if($value eq "Unknown"){
$value = '';
}