2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

Merge pull request #3511 from hu-weihua/xcattest

Fix xcattest bug: failed to load config file which value include comma in object section
This commit is contained in:
GONG Jie 2017-07-20 16:17:43 +08:00 committed by GitHub
commit 0f70ff9aac

View File

@ -682,7 +682,7 @@ sub load_config_file {
}
} elsif ($type eq "Object") {
##OBJECT BLOCK##
if ($line =~ /(\w+)\s*=\s*([:\w\.\-\/]+)/) {
if ($line =~ /(\w+)\s*=\s*([:,\w\.\-\/]+)/) {
$attr = $1;
$value = $2;
if ($attr eq "Name") {