2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-14 02:14:18 +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
+1 -1
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") {